diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-25 17:05:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-25 17:05:20 +0100 |
| commit | c99902e2f907154c9d38caca6f3a73e17f7785ba (patch) | |
| tree | b84fa257824e583723ceb5efaea6b5859039229b /compiler/rustc_pattern_analysis/src/usefulness.rs | |
| parent | e13f4548747fe2e54255f6284d077b7beafdaed5 (diff) | |
| parent | 5b7786cd1d246fd0bbe748c8690fb99b1134d2be (diff) | |
| download | rust-c99902e2f907154c9d38caca6f3a73e17f7785ba.tar.gz rust-c99902e2f907154c9d38caca6f3a73e17f7785ba.zip | |
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 https://github.com/rust-lang/rust/pull/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, https://github.com/rust-lang/rust/issues/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 https://github.com/rust-lang/rust/issues/120362. Closes https://github.com/rust-lang/rust/issues/116122.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/usefulness.rs')
0 files changed, 0 insertions, 0 deletions
