diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-02-03 20:48:25 +0100 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2023-02-03 21:18:34 +0100 |
| commit | a3637032db5426a47d2ed6c91dcb4f65929bcf58 (patch) | |
| tree | 265e29d800df45a80bd974eca1e410c2abaa70c5 /compiler/rustc_codegen_llvm/src | |
| parent | 9545094994f1ab45cab5799d5b45980871a9e97b (diff) | |
| download | rust-a3637032db5426a47d2ed6c91dcb4f65929bcf58.tar.gz rust-a3637032db5426a47d2ed6c91dcb4f65929bcf58.zip | |
unused-lifetimes: don't warn about lifetimes originating from expanded code
previously, we would warn like this: ```` warning: lifetime parameter `'s` never used --> /tmp/unusedlif/code.rs:6:62 | 5 | #[derive(Clone)] | - help: elide the unused lifetime 6 | struct ShimMethod4<T: Trait2 + 'static>(pub &'static dyn for<'s> Fn(&'s mut T::As)); | ^^ | = note: requested on the command line with `-W unused-lifetimes` ```` Fixes #104432
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
