21 lines
564 B
Plaintext
21 lines
564 B
Plaintext
|
error: hidden lifetime parameters in types are deprecated
|
||
|
--> $DIR/elided-lint-in-mod.rs:7:24
|
||
|
|
|
||
|
LL | fn test2(_: super::Foo) {}
|
||
|
| -------^^^
|
||
|
| |
|
||
|
| expected lifetime parameter
|
||
|
|
|
||
|
note: the lint level is defined here
|
||
|
--> $DIR/elided-lint-in-mod.rs:5:8
|
||
|
|
|
||
|
LL | #[deny(elided_lifetimes_in_paths)]
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
help: indicate the anonymous lifetime
|
||
|
|
|
||
|
LL | fn test2(_: super::Foo<'_>) {}
|
||
|
| ++++
|
||
|
|
||
|
error: aborting due to 1 previous error
|
||
|
|