Skip to content

Commit

Permalink
fix-3078: verify test case
Browse files Browse the repository at this point in the history
Check the crash test case by commenting out the fix
  • Loading branch information
Michael Wright committed Aug 25, 2018
1 parent 45ceecc commit 6256ad0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clippy_lints/src/non_expressive_names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,11 @@ 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]> {
Expand Down

0 comments on commit 6256ad0

Please sign in to comment.