2021-12-11 09:35:37 +00:00
|
|
|
error: hidden lifetime parameters in types are deprecated
|
|
|
|
--> $DIR/issue-91763.rs:8:20
|
|
|
|
|
|
|
|
|
LL | fn f() -> Ptr<Thing>;
|
2022-03-10 22:12:35 +00:00
|
|
|
| ^ expected lifetime parameter
|
2021-12-11 09:35:37 +00:00
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/issue-91763.rs:3:9
|
|
|
|
|
|
|
|
|
LL | #![deny(elided_lifetimes_in_paths)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-03-10 22:12:35 +00:00
|
|
|
help: indicate the anonymous lifetime
|
|
|
|
|
|
|
|
|
LL | fn f() -> Ptr<Thing><'_>;
|
|
|
|
| ++++
|
2021-12-11 09:35:37 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2021-12-11 09:35:37 +00:00
|
|
|
|