Commit c834bf7
authored
Rollup merge of #120805 - RalfJung:const-pat-partial-eq, r=oli-obk
make non-PartialEq-typed consts as patterns a hard error
This lint was introduced in rust-lang/rust#115893, for Rust 1.74, so we just had the third stable release where this is shown as a future-compat lint (which is shown for dependencies). Not a single comment or backreference showed up in the tracking issue, rust-lang/rust#116122. So this seems fairly safe to turn into a hard error.
Of course we should do a crater run first.
This is part of rust-lang/rust#120362.
Closes rust-lang/rust#116122.File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments