mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +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
|
|
|