mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 02:53:43 +00:00
I think it's helpful to know what type was unused when looking at these warnings. The type will likely determine whether the result *should* be used, or whether it should just be ignored. Including the type also matches the behavior of the `must_use` lint: unused `SomeType` that must be used.