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
+
1
16
warning: anonymous parameters are deprecated and will be removed in the next edition
2
- --> $DIR/future-incompatible-lint-group.rs:7 :10
17
+ --> $DIR/future-incompatible-lint-group.rs:11 :10
3
18
|
4
19
LL | fn f(u8) {}
5
20
| ^^ help: try naming the parameter or explicitly ignoring it: `_: u8`
@@ -8,14 +23,21 @@ LL | fn f(u8) {}
8
23
= note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
9
24
= note: `#[warn(anonymous_parameters)]` on by default
10
25
11
- error: this attribute can only be applied at the crate level
12
- --> $DIR/future-incompatible-lint-group.rs:13:12
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
13
31
|
14
- LL | #![doc(test(some_test))]
15
- | ^^^^^^^^^^^^^ ^^
32
+ LL | macro_rules! m { ($i) => {} }
33
+ | ^^
16
34
|
17
- = note: read <https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#at-the-crate-level> for more information
18
- = note: `#[deny(invalid_doc_attributes)]` on by default
19
-
20
- error: aborting due to 1 previous error; 1 warning emitted
35
+ = 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>
37
+ note: the lint level is defined here
38
+ --> $DIR/future-incompatible-lint-group.rs:3:9
39
+ |
40
+ LL | #![deny(future_incompatible)]
41
+ | ^^^^^^^^^^^^^^^^^^^
42
+ = note: `#[deny(missing_fragment_specifier)]` implied by `#[deny(future_incompatible)]`
21
43
0 commit comments