fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error: hidden lifetime parameters in types are deprecated 2 --> $DIR/elided-lifetimes.rs:13:12 3 | 4LL | fn foo(x: &Foo) { 5 | ^^^- help: indicate the anonymous lifetime: `<'_>` 6 | 7note: lint level defined here 8 --> $DIR/elided-lifetimes.rs:5:9 9 | 10LL | #![deny(elided_lifetimes_in_paths)] 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error: hidden lifetime parameters in types are deprecated 14 --> $DIR/elided-lifetimes.rs:32:29 15 | 16LL | fn wrap_gift(gift: &str) -> Wrapped { 17 | ^^^^^^^- help: indicate the anonymous lifetime: `<'_>` 18 19error: hidden lifetime parameters in types are deprecated 20 --> $DIR/elided-lifetimes.rs:38:38 21 | 22LL | fn wrap_gift_with_bow(gift: &str) -> WrappedWithBow { 23 | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` 24 25error: hidden lifetime parameters in types are deprecated 26 --> $DIR/elided-lifetimes.rs:44:29 27 | 28LL | fn inspect_matched_set(set: MatchedSet) { 29 | ^^^^^^^^^^- help: indicate the anonymous lifetimes: `<'_, '_>` 30 31error: hidden lifetime parameters in types are deprecated 32 --> $DIR/elided-lifetimes.rs:56:36 33 | 34LL | fn $fn_name(gift: &str) -> $type_name { 35 | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` 36... 37LL | autowrapper!(Autowrapped, autowrap_gift, 'a); 38 | --------------------------------------------- in this macro invocation 39 40error: hidden lifetime parameters in types are deprecated 41 --> $DIR/elided-lifetimes.rs:78:18 42 | 43LL | let loyalty: Ref<(u32, char)> = honesty.borrow(); 44 | ^^^^^^^^^^^^^^^^ help: indicate the anonymous lifetime: `Ref<'_, (u32, char)>` 45 46error: hidden lifetime parameters in types are deprecated 47 --> $DIR/elided-lifetimes.rs:70:9 48 | 49LL | Ref<($($types),*)> 50 | ^^^^^^^^^^^^^^^^^^ help: indicate the anonymous lifetime: `Ref<'_, ($($types),*)>` 51... 52LL | let yellow: anytuple_ref_ty!(bool, &str) = laughter.borrow(); 53 | ---------------------------- in this macro invocation 54 55error: aborting due to 7 previous errors 56