Fix an ICE in HashMap generalization suggestions
This commit is contained in:
parent
4603e60fca
commit
75c92aa2d2
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue