fork/rust

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

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

master
476 B18 linesraw
1error: hidden lifetime parameters in types are deprecated
2  --> $DIR/issue-91763.rs:8:20
3   |
4LL | fn f() -> Ptr<Thing>;
5   |                    ^ expected lifetime parameter
6   |
7note: the lint level is defined here
8  --> $DIR/issue-91763.rs:3:9
9   |
10LL | #![deny(elided_lifetimes_in_paths)]
11   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
12help: indicate the anonymous lifetime
13   |
14LL | fn f() -> Ptr<Thing><'_>;
15   |                     ++++
16
17error: aborting due to previous error
18