aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/deny_elided_lifetimes.stderr
blob: 857bb5b7fbfed0de0b6efc96c56832358e293ab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: hidden lifetime parameters in types are deprecated
  --> tests/ui/deny_elided_lifetimes.rs:21:50
   |
21 |         fn lifetime_elided(s: &i32) -> UniquePtr<Cpp>;
   |                                                  ^^^ expected lifetime parameter
   |
note: the lint level is defined here
  --> tests/ui/deny_elided_lifetimes.rs:1:9
   |
1  | #![deny(elided_lifetimes_in_paths)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
help: indicate the anonymous lifetime
   |
21 |         fn lifetime_elided(s: &i32) -> UniquePtr<Cpp<'_>>;
   |                                                     ++++