about summary refs log tree commit diff
path: root/tests/ui/lifetimes/elided-lint-in-mod.stderr
blob: 1fee18028c66f3ea23256f9a1c749c3c0987818e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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