You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: 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.
15
+
--> $DIR/match-edge-cases_1.rs:29:13
16
+
|
17
+
LL | NUMBER_POINTER => (),
18
+
| ^^^^^^^^^^^^^^
19
+
|
20
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
21
+
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
22
+
= note: `#[warn(pointer_structural_match)]` on by default
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.
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.
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.
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.
warning: 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.
28
+
--> $DIR/issue-44333.rs:19:9
29
+
|
30
+
LL | FOO => println!("foo"),
31
+
| ^^^
32
+
|
33
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
34
+
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
35
+
note: the lint level is defined here
36
+
--> $DIR/issue-44333.rs:3:9
37
+
|
38
+
LL | #![warn(pointer_structural_match)]
39
+
| ^^^^^^^^^^^^^^^^^^^^^^^^
40
+
41
+
Future breakage diagnostic:
42
+
warning: 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.
43
+
--> $DIR/issue-44333.rs:21:9
44
+
|
45
+
LL | BAR => println!("bar"),
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 #62411 <https://github.com/rust-lang/rust/issues/70861>
warning: 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.
171
+
--> $DIR/consts-opaque.rs:96:9
172
+
|
173
+
LL | QUUX => {}
174
+
| ^^^^
175
+
|
176
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
177
+
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
178
+
= note: `#[warn(pointer_structural_match)]` on by default
179
+
180
+
Future breakage diagnostic:
181
+
warning: 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.
182
+
--> $DIR/consts-opaque.rs:98:9
183
+
|
184
+
LL | QUUX => {}
185
+
| ^^^^
186
+
|
187
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
188
+
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
189
+
= note: `#[warn(pointer_structural_match)]` on by default
190
+
191
+
Future breakage diagnostic:
192
+
warning: 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.
193
+
--> $DIR/consts-opaque.rs:108:9
194
+
|
195
+
LL | WRAPQUUX => {}
196
+
| ^^^^^^^^
197
+
|
198
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
199
+
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
200
+
= note: `#[warn(pointer_structural_match)]` on by default
201
+
202
+
Future breakage diagnostic:
203
+
warning: 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.
204
+
--> $DIR/consts-opaque.rs:110:9
205
+
|
206
+
LL | WRAPQUUX => {}
207
+
| ^^^^^^^^
208
+
|
209
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
210
+
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
211
+
= note: `#[warn(pointer_structural_match)]` on by default
212
+
213
+
Future breakage diagnostic:
214
+
warning: 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.
215
+
--> $DIR/consts-opaque.rs:117:9
216
+
|
217
+
LL | WRAPQUUX => {}
218
+
| ^^^^^^^^
219
+
|
220
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
221
+
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
222
+
= note: `#[warn(pointer_structural_match)]` on by default
223
+
224
+
Future breakage diagnostic:
225
+
warning: 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.
226
+
--> $DIR/consts-opaque.rs:127:9
227
+
|
228
+
LL | WRAPQUUX => {}
229
+
| ^^^^^^^^
230
+
|
231
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
232
+
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
233
+
= note: `#[warn(pointer_structural_match)]` on by default
234
+
235
+
Future breakage diagnostic:
236
+
warning: 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.
237
+
--> $DIR/consts-opaque.rs:139:9
238
+
|
239
+
LL | WHOKNOWSQUUX => {}
240
+
| ^^^^^^^^^^^^
241
+
|
242
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
243
+
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
244
+
= note: `#[warn(pointer_structural_match)]` on by default
245
+
246
+
Future breakage diagnostic:
247
+
warning: 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.
248
+
--> $DIR/consts-opaque.rs:142:9
249
+
|
250
+
LL | WHOKNOWSQUUX => {}
251
+
| ^^^^^^^^^^^^
252
+
|
253
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
254
+
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
255
+
= note: `#[warn(pointer_structural_match)]` on by default
0 commit comments