summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/force-warn/allowed-by-default-lint.stderr
blob: ac98b5896ca7bfade498e1ebc03b64a7d1154565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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