mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-18 15:08:47 +00:00
fix-3078: verify test case
Check the crash test case by commenting out the fix
This commit is contained in:
parent
45ceecc79c
commit
6256ad05ba
1 changed files with 2 additions and 0 deletions
|
@ -114,9 +114,11 @@ impl<'a, 'tcx: 'a, 'b> Visitor<'tcx> for SimilarNamesNameVisitor<'a, 'tcx, 'b> {
|
||||||
_ => walk_pat(self, pat),
|
_ => walk_pat(self, pat),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
fn visit_mac(&mut self, _mac: &Mac) {
|
fn visit_mac(&mut self, _mac: &Mac) {
|
||||||
// do not check macs
|
// do not check macs
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_whitelist(interned_name: &str) -> Option<&'static [&'static str]> {
|
fn get_whitelist(interned_name: &str) -> Option<&'static [&'static str]> {
|
||||||
|
|
Loading…
Add table
Reference in a new issue