1 // Test that we do not warn for named lifetimes in structs,
2 // even when they are only used once (since to not use a named
3 // lifetime is illegal!)
7 // Use forbid to verify that `automatically_derived` is handled correctly.
8 #![forbid(single_use_lifetimes)]
10 #![allow(unused_variables)]
22 // `Derive`d impls shouldn't trigger a warning, either (Issue #53738).