Allow wparam and lparam in similar_names

This commit is contained in:
John Simon 2021-05-20 10:12:54 -04:00
parent 60826e77c3
commit 2eafec182d
3 changed files with 7 additions and 2 deletions

View file

@ -125,6 +125,7 @@ const ALLOWED_TO_BE_SIMILAR: &[&[&str]] = &[
&["args", "arms"],
&["qpath", "path"],
&["lit", "lint"],
&["wparam", "lparam"],
];
struct SimilarNamesNameVisitor<'a, 'tcx, 'b>(&'b mut SimilarNamesLocalVisitor<'a, 'tcx>);