rust/tests/ui/lint/force-warn/allowed-by-default-lint.stderr

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

15 lines
396 B
Plaintext
Raw Normal View History

2021-05-27 19:19:39 +02:00
warning: hidden lifetime parameters in types are deprecated
2021-08-18 11:05:59 +02:00
--> $DIR/allowed-by-default-lint.rs:9:12
2021-05-27 19:19:39 +02:00
|
LL | fn foo(x: &Foo) {}
| ^^^ expected lifetime parameter
2021-05-27 19:19:39 +02:00
|
2021-07-21 15:40:52 +02:00
= note: requested on the command line with `--force-warn elided-lifetimes-in-paths`
help: indicate the anonymous lifetime
|
LL | fn foo(x: &Foo<'_>) {}
| ++++
2021-05-27 19:19:39 +02:00
warning: 1 warning emitted