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