rust/compiler/rustc_lint
Matthias Krüger 24b75e7113
Rollup merge of #91818 - camelid:unused-result-type, r=jackh726
Show the unused type for `unused_results` lint

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.
2021-12-18 08:16:27 +01:00
..
src Rollup merge of #91818 - camelid:unused-result-type, r=jackh726 2021-12-18 08:16:27 +01:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00