45d01b8131
and bless a test I missed
24 lines
1.3 KiB
Plaintext
24 lines
1.3 KiB
Plaintext
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.
|
|
--> $DIR/match-edge-cases_1.rs:29:13
|
|
|
|
|
LL | NUMBER_POINTER => (),
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
= 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 #120362 <https://github.com/rust-lang/rust/issues/120362>
|
|
= note: `#[warn(pointer_structural_match)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|
|
Future incompatibility report: Future breakage diagnostic:
|
|
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.
|
|
--> $DIR/match-edge-cases_1.rs:29:13
|
|
|
|
|
LL | NUMBER_POINTER => (),
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
= 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 #120362 <https://github.com/rust-lang/rust/issues/120362>
|
|
= note: `#[warn(pointer_structural_match)]` on by default
|
|
|