mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 10:07:30 +00:00
15 lines
335 B
Plaintext
15 lines
335 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 previous error
|
|
|