summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lifetimes/issue-91763.stderr
blob: 6ccf008c003e4182b2f0adbd14d5084392e5ce40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: hidden lifetime parameters in types are deprecated
  --> $DIR/issue-91763.rs:8:20
   |
LL | fn f() -> Ptr<Thing>;
   |                    ^ expected lifetime parameter
   |
note: the lint level is defined here
  --> $DIR/issue-91763.rs:3:9
   |
LL | #![deny(elided_lifetimes_in_paths)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
help: indicate the anonymous lifetime
   |
LL | fn f() -> Ptr<Thing><'_>;
   |                     ++++

error: aborting due to previous error