about summary refs log tree commit diff
path: root/tests/ui/lint/expect-future_breakage-crash-issue-126521.stderr
blob: 72a74c1579dd482112bdbef860a9fa1fdba22e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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
   |
LL |         true;
   |             ^
...
LL |     let _ = foo!(x);
   |             ------- in this macro invocation
   |
   = 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)

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
   |
   = 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)

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)