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 12:03:44 +00:00
LL | impl<'a> Foo {}
| -^^- help: elide the unused lifetime
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
--> $DIR/zero-uses-in-impl.rs:3:9
|
2018-05-18 22:13:53 +00:00
LL | #![deny(unused_lifetimes)]
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error