blob: ac98b5896ca7bfade498e1ebc03b64a7d1154565 [file] [log] [blame]
warning: hidden lifetime parameters in types are deprecated
--> $DIR/allowed-by-default-lint.rs:9:12
|
LL | fn foo(x: &Foo) {}
| ^^^ expected lifetime parameter
|
= note: requested on the command line with `--force-warn elided-lifetimes-in-paths`
help: indicate the anonymous lifetime
|
LL | fn foo(x: &Foo<'_>) {}
| ++++
warning: 1 warning emitted