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

15 lines
396 B
Plaintext
Raw Normal View History

2021-05-27 12:19:39 -05:00
warning: hidden lifetime parameters in types are deprecated
2021-08-18 04:05:59 -05:00
--> $DIR/allowed-by-default-lint.rs:9:12
2021-05-27 12:19:39 -05:00
|
LL | fn foo(x: &Foo) {}
| ^^^ expected lifetime parameter
2021-05-27 12:19:39 -05:00
|
2021-07-21 08:40:52 -05: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 12:19:39 -05:00
warning: 1 warning emitted