|
1 |
| -error: implicit lifetime parameters in types are deprecated |
2 |
| - --> $DIR/elided-lifetimes.rs:23:12 |
| 1 | +error: hidden lifetime parameters in types are deprecated |
| 2 | + --> $DIR/hidden-lifetimes-in-types.rs:23:12 |
3 | 3 | |
|
4 | 4 | LL | fn foo(x: &Foo) {
|
5 | 5 | | ^^^- help: indicate the anonymous lifetime: `<'_>`
|
6 | 6 | |
|
7 | 7 | note: lint level defined here
|
8 |
| - --> $DIR/elided-lifetimes.rs:15:9 |
| 8 | + --> $DIR/hidden-lifetimes-in-types.rs:15:9 |
9 | 9 | |
|
10 |
| -LL | #![deny(elided_lifetimes_in_paths)] |
| 10 | +LL | #![deny(hidden_lifetimes_in_types)] |
11 | 11 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
12 | 12 |
|
13 |
| -error: implicit lifetime parameters in types are deprecated |
14 |
| - --> $DIR/elided-lifetimes.rs:37:29 |
| 13 | +error: hidden lifetime parameters in types are deprecated |
| 14 | + --> $DIR/hidden-lifetimes-in-types.rs:37:29 |
15 | 15 | |
|
16 | 16 | LL | fn wrap_gift(gift: &str) -> Wrapped {
|
17 | 17 | | ^^^^^^^- help: indicate the anonymous lifetime: `<'_>`
|
18 | 18 |
|
19 |
| -error: implicit lifetime parameters in types are deprecated |
20 |
| - --> $DIR/elided-lifetimes.rs:43:38 |
| 19 | +error: hidden lifetime parameters in types are deprecated |
| 20 | + --> $DIR/hidden-lifetimes-in-types.rs:43:38 |
21 | 21 | |
|
22 | 22 | LL | fn wrap_gift_with_bow(gift: &str) -> WrappedWithBow {
|
23 | 23 | | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>`
|
24 | 24 |
|
25 |
| -error: implicit lifetime parameters in types are deprecated |
26 |
| - --> $DIR/elided-lifetimes.rs:77:18 |
| 25 | +error: hidden lifetime parameters in types are deprecated |
| 26 | + --> $DIR/hidden-lifetimes-in-types.rs:77:18 |
27 | 27 | |
|
28 | 28 | LL | let loyalty: Ref<(u32, char)> = honesty.borrow();
|
29 | 29 | | ^^^^^^^^^^^^^^^^ help: indicate the anonymous lifetime: `Ref<'_, (u32, char)>`
|
30 | 30 |
|
31 |
| -error: implicit lifetime parameters in types are deprecated |
32 |
| - --> $DIR/elided-lifetimes.rs:69:9 |
| 31 | +error: hidden lifetime parameters in types are deprecated |
| 32 | + --> $DIR/hidden-lifetimes-in-types.rs:69:9 |
33 | 33 | |
|
34 | 34 | LL | Ref<($($types),*)>
|
35 | 35 | | ^^^^^^^^^^^^^^^^^^ help: indicate the anonymous lifetime: `Ref<'_, ($($types),*)>`
|
36 | 36 | ...
|
37 | 37 | LL | let yellow: anytuple_ref_ty!(bool, &str) = laughter.borrow();
|
38 | 38 | | ---------------------------- in this macro invocation
|
39 | 39 |
|
40 |
| -error: implicit lifetime parameters in types are deprecated |
41 |
| - --> $DIR/elided-lifetimes.rs:55:36 |
| 40 | +error: hidden lifetime parameters in types are deprecated |
| 41 | + --> $DIR/hidden-lifetimes-in-types.rs:55:36 |
42 | 42 | |
|
43 | 43 | LL | fn $fn_name(gift: &str) -> $type_name {
|
44 | 44 | | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>`
|
|
0 commit comments