mirror of https://github.com/rust-lang/rust.git
Fix an ICE in HashMap generalization suggestions
This commit is contained in:
parent
4603e60fca
commit
75c92aa2d2
|
@ -1621,7 +1621,6 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for ImplicitHasher {
|
|||
|
||||
let mut ctr_vis = ImplicitHasherConstructorVisitor::new(cx, target);
|
||||
ctr_vis.visit_body(body);
|
||||
assert!(ctr_vis.suggestions.is_empty());
|
||||
|
||||
span_lint_and_then(
|
||||
cx,
|
||||
|
|
Loading…
Reference in New Issue