fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
396 B14 linesraw
1warning: hidden lifetime parameters in types are deprecated
2  --> $DIR/allowed-by-default-lint.rs:9:12
3   |
4LL | fn foo(x: &Foo) {}
5   |            ^^^ expected lifetime parameter
6   |
7   = note: requested on the command line with `--force-warn elided-lifetimes-in-paths`
8help: indicate the anonymous lifetime
9   |
10LL | fn foo(x: &Foo<'_>) {}
11   |               ++++
12
13warning: 1 warning emitted
14