|
1 | 1 | error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details. |
2 | | - --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:10:9 |
| 2 | + --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:9:9 |
3 | 3 | | |
4 | 4 | LL | C => {} |
5 | 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 #120362 <https://github.com/rust-lang/rust/issues/120362> |
9 | | -note: the lint level is defined here |
10 | | - --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:1:9 |
11 | | - | |
12 | | -LL | #![deny(pointer_structural_match)] |
13 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^ |
14 | 6 |
|
15 | 7 | error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details. |
16 | | - --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:18:9 |
| 8 | + --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:16:9 |
17 | 9 | | |
18 | 10 | LL | C_INNER => {} |
19 | 11 | | ^^^^^^^ |
20 | | - | |
21 | | - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
22 | | - = note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362> |
23 | 12 |
|
24 | 13 | error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details. |
25 | | - --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:30:9 |
| 14 | + --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:27:9 |
26 | 15 | | |
27 | 16 | LL | D => {} |
28 | 17 | | ^ |
29 | | - | |
30 | | - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
31 | | - = note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362> |
32 | 18 |
|
33 | 19 | error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details. |
34 | | - --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:36:9 |
| 20 | + --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:32:9 |
35 | 21 | | |
36 | 22 | LL | STR => {} |
37 | 23 | | ^^^ |
38 | | - | |
39 | | - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
40 | | - = note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362> |
41 | 24 |
|
42 | 25 | error: aborting due to 4 previous errors |
43 | 26 |
|
44 | | -Future incompatibility report: Future breakage diagnostic: |
45 | | -error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details. |
46 | | - --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:10:9 |
47 | | - | |
48 | | -LL | C => {} |
49 | | - | ^ |
50 | | - | |
51 | | - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
52 | | - = note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362> |
53 | | -note: the lint level is defined here |
54 | | - --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:1:9 |
55 | | - | |
56 | | -LL | #![deny(pointer_structural_match)] |
57 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^ |
58 | | - |
59 | | -Future breakage diagnostic: |
60 | | -error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details. |
61 | | - --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:18:9 |
62 | | - | |
63 | | -LL | C_INNER => {} |
64 | | - | ^^^^^^^ |
65 | | - | |
66 | | - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
67 | | - = note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362> |
68 | | -note: the lint level is defined here |
69 | | - --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:1:9 |
70 | | - | |
71 | | -LL | #![deny(pointer_structural_match)] |
72 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^ |
73 | | - |
74 | | -Future breakage diagnostic: |
75 | | -error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details. |
76 | | - --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:30:9 |
77 | | - | |
78 | | -LL | D => {} |
79 | | - | ^ |
80 | | - | |
81 | | - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
82 | | - = note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362> |
83 | | -note: the lint level is defined here |
84 | | - --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:1:9 |
85 | | - | |
86 | | -LL | #![deny(pointer_structural_match)] |
87 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^ |
88 | | - |
89 | | -Future breakage diagnostic: |
90 | | -error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details. |
91 | | - --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:36:9 |
92 | | - | |
93 | | -LL | STR => {} |
94 | | - | ^^^ |
95 | | - | |
96 | | - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
97 | | - = note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362> |
98 | | -note: the lint level is defined here |
99 | | - --> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:1:9 |
100 | | - | |
101 | | -LL | #![deny(pointer_structural_match)] |
102 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^ |
103 | | - |
0 commit comments