Pre-feature request: suppress unused variable warning for unit-type arguments
Rust Internals [Unofficial]
March 11, 2026
ZST don't hold any data, but they can still hold semantic meaning. I would find it very surprising if the lint somehow treated these types different.
toc:
> There is a lot of value in having warnings be precise. Noisy warnings only justify false positives if the true positives commonly identify real bugs.
I don't see noise here.
Discussion in the ATmosphere