rust/tests/ui/single-use-lifetime/zero-uses-in-impl.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
335 B
Plaintext
Raw Normal View History

error: lifetime parameter `'a` never used
--> $DIR/zero-uses-in-impl.rs:8:6
|
2019-03-09 06:03:44 -06:00
LL | impl<'a> Foo {}
| -^^- help: elide the unused lifetime
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
--> $DIR/zero-uses-in-impl.rs:3:9
|
2018-05-18 17:13:53 -05:00
LL | #![deny(unused_lifetimes)]
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error