1 error: hidden lifetime parameters in types are deprecated
2 --> $DIR/elided-lifetimes.rs:13:12
5 | ^^^- help: indicate the anonymous lifetime: `<'_>`
7 note: the lint level is defined here
8 --> $DIR/elided-lifetimes.rs:5:9
10 LL | #![deny(elided_lifetimes_in_paths)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: hidden lifetime parameters in types are deprecated
14 --> $DIR/elided-lifetimes.rs:32:29
16 LL | fn wrap_gift(gift: &str) -> Wrapped {
17 | ^^^^^^^- help: indicate the anonymous lifetime: `<'_>`
19 error: hidden lifetime parameters in types are deprecated
20 --> $DIR/elided-lifetimes.rs:38:38
22 LL | fn wrap_gift_with_bow(gift: &str) -> WrappedWithBow {
23 | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>`
25 error: hidden lifetime parameters in types are deprecated
26 --> $DIR/elided-lifetimes.rs:44:29
28 LL | fn inspect_matched_set(set: MatchedSet) {
29 | ^^^^^^^^^^- help: indicate the anonymous lifetimes: `<'_, '_>`
31 error: hidden lifetime parameters in types are deprecated
32 --> $DIR/elided-lifetimes.rs:56:36
34 LL | fn $fn_name(gift: &str) -> $type_name {
35 | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>`
37 LL | autowrapper!(Autowrapped, autowrap_gift, 'a);
38 | -------------------------------------------- in this macro invocation
40 = note: this error originates in the macro `autowrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
42 error: hidden lifetime parameters in types are deprecated
43 --> $DIR/elided-lifetimes.rs:78:18
45 LL | let loyalty: Ref<(u32, char)> = honesty.borrow();
46 | ^^^^^^^^^^^^^^^^ help: indicate the anonymous lifetime: `Ref<'_, (u32, char)>`
48 error: hidden lifetime parameters in types are deprecated
49 --> $DIR/elided-lifetimes.rs:70:9
51 LL | Ref<($($types),*)>
52 | ^^^^^^^^^^^^^^^^^^ help: indicate the anonymous lifetime: `Ref<'_, ($($types),*)>`
54 LL | let yellow: anytuple_ref_ty!(bool, &str) = laughter.borrow();
55 | ---------------------------- in this macro invocation
57 = note: this error originates in the macro `anytuple_ref_ty` (in Nightly builds, run with -Z macro-backtrace for more info)
59 error: aborting due to 7 previous errors