diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-02-09 23:18:34 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-09 23:18:34 +0530 |
| commit | be1789a56d98e5f8334fa66a177b8118ea22dd55 (patch) | |
| tree | d54125e761691db02892956579fc410a09f95951 /tests/rustdoc/const-generics/const-generics-docs.rs | |
| parent | 8cca42a47f5d574c8f7302c98c3f918cdc772fbb (diff) | |
| parent | a3637032db5426a47d2ed6c91dcb4f65929bcf58 (diff) | |
| download | rust-be1789a56d98e5f8334fa66a177b8118ea22dd55.tar.gz rust-be1789a56d98e5f8334fa66a177b8118ea22dd55.zip | |
Rollup merge of #107648 - matthiaskrgr:unused_lifetime_104432_fix, r=cjgillot
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 'tests/rustdoc/const-generics/const-generics-docs.rs')
0 files changed, 0 insertions, 0 deletions
