File tree 5 files changed +60
-1
lines changed
compiler/rustc_lint_defs/src
5 files changed +60
-1
lines changed Original file line number Diff line number Diff line change @@ -2457,7 +2457,7 @@ declare_lint! {
2457
2457
Deny ,
2458
2458
"a feature gate that doesn't break dependent crates" ,
2459
2459
@future_incompatible = FutureIncompatibleInfo {
2460
- reason: FutureIncompatibilityReason :: FutureReleaseErrorDontReportInDeps ,
2460
+ reason: FutureIncompatibilityReason :: FutureReleaseErrorReportInDeps ,
2461
2461
reference: "issue #64266 <https://github.com/rust-lang/rust/issues/64266>" ,
2462
2462
} ;
2463
2463
}
Original file line number Diff line number Diff line change @@ -19,3 +19,25 @@ LL | use bench as _;
19
19
20
20
error: aborting due to 2 previous errors
21
21
22
+ Future incompatibility report: Future breakage diagnostic:
23
+ error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
24
+ --> $DIR/bench.rs:3:3
25
+ |
26
+ LL | #[bench]
27
+ | ^^^^^
28
+ |
29
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
30
+ = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
31
+ = note: `#[deny(soft_unstable)]` on by default
32
+
33
+ Future breakage diagnostic:
34
+ error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
35
+ --> $DIR/bench.rs:7:5
36
+ |
37
+ LL | use bench as _;
38
+ | ^^^^^
39
+ |
40
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
41
+ = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
42
+ = note: `#[deny(soft_unstable)]` on by default
43
+
Original file line number Diff line number Diff line change @@ -54,3 +54,18 @@ LL | #[warn(incomplete_include)]
54
54
55
55
warning: 4 warnings emitted
56
56
57
+ Future incompatibility report: Future breakage diagnostic:
58
+ warning: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
59
+ --> $DIR/expansion-time.rs:14:7
60
+ |
61
+ LL | #[bench]
62
+ | ^^^^^
63
+ |
64
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
65
+ = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
66
+ note: the lint level is defined here
67
+ --> $DIR/expansion-time.rs:12:8
68
+ |
69
+ LL | #[warn(soft_unstable)]
70
+ | ^^^^^^^^^^^^^
71
+
Original file line number Diff line number Diff line change @@ -38,3 +38,14 @@ LL | #![rustfmt::skip]
38
38
error: aborting due to 4 previous errors
39
39
40
40
For more information about this error, try `rustc --explain E0658`.
41
+ Future incompatibility report: Future breakage diagnostic:
42
+ error: custom inner attributes are unstable
43
+ --> $DIR/module_with_attrs.rs:3:4
44
+ |
45
+ LL | #![rustfmt::skip]
46
+ | ^^^^^^^^^^^^^
47
+ |
48
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
49
+ = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
50
+ = note: `#[deny(soft_unstable)]` on by default
51
+
Original file line number Diff line number Diff line change @@ -89,3 +89,14 @@ LL | #![test]
89
89
error: aborting due to 10 previous errors
90
90
91
91
For more information about this error, try `rustc --explain E0658`.
92
+ Future incompatibility report: Future breakage diagnostic:
93
+ error: inner macro attributes are unstable
94
+ --> $DIR/proc-macro-gates.rs:49:8
95
+ |
96
+ LL | #![test]
97
+ | ^^^^
98
+ |
99
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
100
+ = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
101
+ = note: `#[deny(soft_unstable)]` on by default
102
+
You can’t perform that action at this time.
0 commit comments