1
- error: missing fragment specifier
2
- --> $DIR/future-incompatible-lint-group.rs:6:19
3
- |
4
- LL | macro_rules! m { ($i) => {} }
5
- | ^^
6
- |
7
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
8
- = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
9
- note: the lint level is defined here
10
- --> $DIR/future-incompatible-lint-group.rs:3:9
11
- |
12
- LL | #![deny(future_incompatible)]
13
- | ^^^^^^^^^^^^^^^^^^^
14
- = note: `#[deny(missing_fragment_specifier)]` implied by `#[deny(future_incompatible)]`
15
-
16
1
warning: anonymous parameters are deprecated and will be removed in the next edition
17
- --> $DIR/future-incompatible-lint-group.rs:11 :10
2
+ --> $DIR/future-incompatible-lint-group.rs:23 :10
18
3
|
19
4
LL | fn f(u8) {}
20
5
| ^^ help: try naming the parameter or explicitly ignoring it: `_: u8`
@@ -23,21 +8,30 @@ LL | fn f(u8) {}
23
8
= note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
24
9
= note: `#[warn(anonymous_parameters)]` on by default
25
10
26
- error: aborting due to 1 previous error; 1 warning emitted
27
-
28
- Future incompatibility report: Future breakage diagnostic:
29
- error: missing fragment specifier
30
- --> $DIR/future-incompatible-lint-group.rs:6:19
11
+ error: ambiguous associated item
12
+ --> $DIR/future-incompatible-lint-group.rs:16:17
31
13
|
32
- LL | macro_rules! m { ($i) => {} }
33
- | ^^
14
+ LL | fn foo() -> Self::V { 0 }
15
+ | ^^^^^^^ help: use fully-qualified syntax: `<E as Tr1>::V`
34
16
|
35
17
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
36
- = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107>
18
+ = note: for more information, see issue #57644 <https://github.com/rust-lang/rust/issues/57644>
19
+ note: `V` could refer to the variant defined here
20
+ --> $DIR/future-incompatible-lint-group.rs:5:10
21
+ |
22
+ LL | enum E { V }
23
+ | ^
24
+ note: `V` could also refer to the associated type defined here
25
+ --> $DIR/future-incompatible-lint-group.rs:8:5
26
+ |
27
+ LL | type V;
28
+ | ^^^^^^
37
29
note: the lint level is defined here
38
30
--> $DIR/future-incompatible-lint-group.rs:3:9
39
31
|
40
32
LL | #![deny(future_incompatible)]
41
33
| ^^^^^^^^^^^^^^^^^^^
42
- = note: `#[deny(missing_fragment_specifier)]` implied by `#[deny(future_incompatible)]`
34
+ = note: `#[deny(ambiguous_associated_items)]` implied by `#[deny(future_incompatible)]`
35
+
36
+ error: aborting due to 1 previous error; 1 warning emitted
43
37
0 commit comments