mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
5fe5543502
Turn remaining non-structural-const-in-pattern lints into hard errors This completes the implementation of https://github.com/rust-lang/rust/issues/120362 by turning our remaining future-compat lints into hard errors: indirect_structural_match and pointer_structural_match. They have been future-compat lints for a while (indirect_structural_match for many years, pointer_structural_match since Rust 1.75 (released Dec 28, 2023)), and have shown up in dependency breakage reports since Rust 1.78 (just released on May 2, 2024). I don't expect a lot of code will still depend on them, but we will of course do a crater run. A lot of cleanup is now possible in const_to_pat, but that is deferred to a later PR. Fixes https://github.com/rust-lang/rust/issues/70861 |
||
---|---|---|
.. | ||
rfc1445 | ||
allow-use-behind-cousin-variant.rs | ||
cant-hide-behind-direct-struct-embedded.rs | ||
cant-hide-behind-direct-struct-embedded.stderr | ||
cant-hide-behind-direct-struct-param.rs | ||
cant-hide-behind-direct-struct-param.stderr | ||
cant-hide-behind-doubly-indirect-embedded.rs | ||
cant-hide-behind-doubly-indirect-embedded.stderr | ||
cant-hide-behind-doubly-indirect-param.rs | ||
cant-hide-behind-doubly-indirect-param.stderr | ||
cant-hide-behind-indirect-struct-embedded.rs | ||
cant-hide-behind-indirect-struct-embedded.stderr | ||
cant-hide-behind-indirect-struct-param.rs | ||
cant-hide-behind-indirect-struct-param.stderr | ||
feature-gate.no_gate.stderr | ||
feature-gate.rs | ||
feature-gate.with_gate.stderr | ||
fn-ptr-is-not-structurally-matchable.rs | ||
fn-ptr-is-not-structurally-matchable.stderr | ||
issue-6804-nan-match.rs | ||
issue-6804-nan-match.stderr | ||
issue-61188-match-slice-forbidden-without-eq.rs | ||
issue-61188-match-slice-forbidden-without-eq.stderr | ||
issue-62307-match-ref-ref-forbidden-without-eq.rs | ||
issue-62307-match-ref-ref-forbidden-without-eq.stderr | ||
issue-63479-match-fnptr.rs | ||
issue-63479-match-fnptr.stderr | ||
match-empty-array-allowed-without-eq-issue-62336.rs | ||
match-requires-both-partialeq-and-eq.rs | ||
match-requires-both-partialeq-and-eq.stderr | ||
phantom-data-is-structurally-matchable.rs |