about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-12-18 08:16:27 +0100
committerGitHub <noreply@github.com>2021-12-18 08:16:27 +0100
commit24b75e711338c2e0f14ed738cf3768105000c988 (patch)
tree58177160972412e6e790a30eee8bc17e68041570 /compiler/rustc_codegen_llvm/src
parent7a626cf7ce908a1c210cc91a043c4c4a23d42b62 (diff)
parentf53e489e6e721f914f6a3c59a7792dc5dfb80ad2 (diff)
downloadrust-24b75e711338c2e0f14ed738cf3768105000c988.tar.gz
rust-24b75e711338c2e0f14ed738cf3768105000c988.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions