get rid of nontrivial_structural_match lint and custom_eq const qualif
This commit is contained in:
parent
ea37e8091f
commit
9f58cf43c7
15 changed files with 53 additions and 297 deletions
|
@ -520,6 +520,11 @@ fn register_builtins(store: &mut LintStore) {
|
|||
"illegal_floating_point_literal_pattern",
|
||||
"no longer a warning, float patterns behave the same as `==`",
|
||||
);
|
||||
store.register_removed(
|
||||
"nontrivial_structural_match",
|
||||
"no longer needed, 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