| 
1 |  | -error[E0658]: the `#[expect]` attribute is an experimental feature  | 
2 |  | -  --> $DIR/expect-future_breakage-crash-issue-126521.rs:16:5  | 
 | 1 | +Future incompatibility report: Future breakage diagnostic:  | 
 | 2 | +warning: trailing semicolon in macro used in expression position  | 
 | 3 | +  --> $DIR/expect-future_breakage-crash-issue-126521.rs:7:13  | 
3 | 4 |    |  | 
4 |  | -LL |     #[expect(semicolon_in_expressions_from_macros)]  | 
5 |  | -   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  | 
 | 5 | +LL |         true;  | 
 | 6 | +   |             ^  | 
 | 7 | +...  | 
 | 8 | +LL |     let _ = foo!(x);  | 
 | 9 | +   |             ------- in this macro invocation  | 
6 | 10 |    |  | 
7 |  | -   = note: see issue #54503 <https://github.com/rust-lang/rust/issues/54503> for more information  | 
8 |  | -   = help: add `#![feature(lint_reasons)]` to the crate attributes to enable  | 
9 |  | -   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date  | 
 | 11 | +   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!  | 
 | 12 | +   = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>  | 
 | 13 | +   = note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)  | 
10 | 14 | 
 
  | 
11 |  | -error[E0658]: the `#[expect]` attribute is an experimental feature  | 
12 |  | -  --> $DIR/expect-future_breakage-crash-issue-126521.rs:20:5  | 
 | 15 | +Future breakage diagnostic:  | 
 | 16 | +warning: trailing semicolon in macro used in expression position  | 
 | 17 | +  --> $DIR/expect-future_breakage-crash-issue-126521.rs:13:35  | 
13 | 18 |    |  | 
14 |  | -LL |     #[expect(semicolon_in_expressions_from_macros)]  | 
15 |  | -   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  | 
 | 19 | +LL |         (5_i32.overflowing_sub(3));  | 
 | 20 | +   |                                   ^  | 
 | 21 | +...  | 
 | 22 | +LL |     let _ = bar!(x);  | 
 | 23 | +   |             ------- in this macro invocation  | 
16 | 24 |    |  | 
17 |  | -   = note: see issue #54503 <https://github.com/rust-lang/rust/issues/54503> for more information  | 
18 |  | -   = help: add `#![feature(lint_reasons)]` to the crate attributes to enable  | 
19 |  | -   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date  | 
 | 25 | +   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!  | 
 | 26 | +   = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>  | 
 | 27 | +   = note: this warning originates in the macro `bar` (in Nightly builds, run with -Z macro-backtrace for more info)  | 
20 | 28 | 
 
  | 
21 |  | -error: aborting due to 2 previous errors  | 
 | 29 | +Future breakage diagnostic:  | 
 | 30 | +warning: trailing semicolon in macro used in expression position  | 
 | 31 | +  --> $DIR/expect-future_breakage-crash-issue-126521.rs:7:13  | 
 | 32 | +   |  | 
 | 33 | +LL |         true;  | 
 | 34 | +   |             ^  | 
 | 35 | +...  | 
 | 36 | +LL |     let _ = foo!(x);  | 
 | 37 | +   |             ------- in this macro invocation  | 
 | 38 | +   |  | 
 | 39 | +   = note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)  | 
 | 40 | + | 
 | 41 | +Future breakage diagnostic:  | 
 | 42 | +warning: trailing semicolon in macro used in expression position  | 
 | 43 | +  --> $DIR/expect-future_breakage-crash-issue-126521.rs:13:35  | 
 | 44 | +   |  | 
 | 45 | +LL |         (5_i32.overflowing_sub(3));  | 
 | 46 | +   |                                   ^  | 
 | 47 | +...  | 
 | 48 | +LL |     let _ = bar!(x);  | 
 | 49 | +   |             ------- in this macro invocation  | 
 | 50 | +   |  | 
 | 51 | +   = note: this warning originates in the macro `bar` (in Nightly builds, run with -Z macro-backtrace for more info)  | 
22 | 52 | 
 
  | 
23 |  | -For more information about this error, try `rustc --explain E0658`.  | 
 | 
0 commit comments