Fix #3078
This commit is contained in:
parent
296b79bdb8
commit
45ceecc79c
3 changed files with 16 additions and 6 deletions
|
|
@ -114,6 +114,9 @@ impl<'a, 'tcx: 'a, 'b> Visitor<'tcx> for SimilarNamesNameVisitor<'a, 'tcx, 'b> {
|
|||
_ => walk_pat(self, pat),
|
||||
}
|
||||
}
|
||||
fn visit_mac(&mut self, _mac: &Mac) {
|
||||
// do not check macs
|
||||
}
|
||||
}
|
||||
|
||||
fn get_whitelist(interned_name: &str) -> Option<&'static [&'static str]> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue