about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-26 07:55:47 +0000
committerbors <bors@rust-lang.org>2024-05-26 07:55:47 +0000
commit5fe554350208b72cb8b66ce39bf0b92b1bba6edd (patch)
treee6a19a9959f12c2fddb2836879e34d9d174e0857 /compiler/rustc_mir_transform/src/coverage/graph.rs
parentbd184cc3e1ee16c1d74444fa246dcfbade9a31d5 (diff)
parentcbd682beeb0a7b54f4cc9e5dee3be3e6d728b9c4 (diff)
downloadrust-5fe554350208b72cb8b66ce39bf0b92b1bba6edd.tar.gz
rust-5fe554350208b72cb8b66ce39bf0b92b1bba6edd.zip
Auto merge of #124661 - RalfJung:only-structural-consts-in-patterns, r=pnkfelix
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
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions