turn pointer_structural_match into a hard error
This commit is contained in:
parent
179a6a08b1
commit
cbd682beeb
23 changed files with 131 additions and 811 deletions
|
@ -544,6 +544,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(
|
||||
"pointer_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