rust/tests/ui/lifetimes/issue-91763.stderr

19 lines
476 B
Plaintext
Raw Normal View History

2021-12-11 03:35:37 -06:00
error: hidden lifetime parameters in types are deprecated
--> $DIR/issue-91763.rs:8:20
|
LL | fn f() -> Ptr<Thing>;
| ^ expected lifetime parameter
2021-12-11 03:35:37 -06:00
|
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><'_>;
| ++++
2021-12-11 03:35:37 -06:00
error: aborting due to previous error