2024-06-25 13:05:37 -05:00
|
|
|
Future incompatibility report: Future breakage diagnostic:
|
|
|
|
warning: trailing semicolon in macro used in expression position
|
|
|
|
--> $DIR/expect-future_breakage-crash-issue-126521.rs:7:13
|
2024-06-19 19:08:06 -05:00
|
|
|
|
|
2024-06-25 13:05:37 -05:00
|
|
|
LL | true;
|
|
|
|
| ^
|
|
|
|
...
|
|
|
|
LL | let _ = foo!(x);
|
|
|
|
| ------- in this macro invocation
|
2024-06-19 19:08:06 -05:00
|
|
|
|
|
2024-06-25 13:05:37 -05:00
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
|
|
|
|
= note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2024-06-19 19:08:06 -05:00
|
|
|
|
2024-06-25 13:05:37 -05:00
|
|
|
Future breakage diagnostic:
|
|
|
|
warning: trailing semicolon in macro used in expression position
|
|
|
|
--> $DIR/expect-future_breakage-crash-issue-126521.rs:13:35
|
2024-06-20 22:58:06 -05:00
|
|
|
|
|
2024-06-25 13:05:37 -05:00
|
|
|
LL | (5_i32.overflowing_sub(3));
|
|
|
|
| ^
|
|
|
|
...
|
|
|
|
LL | let _ = bar!(x);
|
|
|
|
| ------- in this macro invocation
|
2024-06-20 22:58:06 -05:00
|
|
|
|
|
2024-06-25 13:05:37 -05:00
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
|
|
|
|
= note: this warning originates in the macro `bar` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2024-06-20 22:58:06 -05:00
|
|
|
|
2024-06-25 13:05:37 -05:00
|
|
|
Future breakage diagnostic:
|
|
|
|
warning: trailing semicolon in macro used in expression position
|
|
|
|
--> $DIR/expect-future_breakage-crash-issue-126521.rs:7:13
|
|
|
|
|
|
|
|
|
LL | true;
|
|
|
|
| ^
|
|
|
|
...
|
|
|
|
LL | let _ = foo!(x);
|
|
|
|
| ------- in this macro invocation
|
|
|
|
|
|
|
|
|
= note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
Future breakage diagnostic:
|
|
|
|
warning: trailing semicolon in macro used in expression position
|
|
|
|
--> $DIR/expect-future_breakage-crash-issue-126521.rs:13:35
|
|
|
|
|
|
|
|
|
LL | (5_i32.overflowing_sub(3));
|
|
|
|
| ^
|
|
|
|
...
|
|
|
|
LL | let _ = bar!(x);
|
|
|
|
| ------- in this macro invocation
|
|
|
|
|
|
|
|
|
= note: this warning originates in the macro `bar` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2024-06-19 19:08:06 -05:00
|
|
|
|