mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
337 B
Plaintext
15 lines
337 B
Plaintext
error: lifetime parameter `'a` never used
|
|
--> $DIR/zero-uses-in-impl.rs:8:6
|
|
|
|
|
LL | impl<'a> Foo {}
|
|
| -^^- help: elide the unused lifetime
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/zero-uses-in-impl.rs:3:9
|
|
|
|
|
LL | #![deny(unused_lifetimes)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|