remove IndirectStructuralMatch lint, emit the usual hard error instead
This commit is contained in:
parent
79734f1db8
commit
179a6a08b1
31 changed files with 54 additions and 398 deletions
|
@ -539,6 +539,11 @@ fn register_builtins(store: &mut LintStore) {
|
|||
"converted into hard error, see RFC #3535 \
|
||||
<https://rust-lang.github.io/rfcs/3535-constants-in-patterns.html> for more information",
|
||||
);
|
||||
store.register_removed(
|
||||
"indirect_structural_match",
|
||||
"converted into hard error, see RFC #3535 \
|
||||
<https://rust-lang.github.io/rfcs/3535-constants-in-patterns.html> for more information",
|
||||
);
|
||||
}
|
||||
|
||||
fn register_internals(store: &mut LintStore) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue