Skip to content

Commit 75c92aa

Browse files
committed
Fix an ICE in HashMap generalization suggestions
1 parent 4603e60 commit 75c92aa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clippy_lints/src/types.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,6 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for ImplicitHasher {
16211621

16221622
let mut ctr_vis = ImplicitHasherConstructorVisitor::new(cx, target);
16231623
ctr_vis.visit_body(body);
1624-
assert!(ctr_vis.suggestions.is_empty());
16251624

16261625
span_lint_and_then(
16271626
cx,

0 commit comments

Comments
 (0)