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