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