Fix an ICE in HashMap generalization suggestions

This commit is contained in:
Oliver Schneider 2018-01-09 14:57:06 +01:00
parent 4603e60fca
commit 75c92aa2d2
No known key found for this signature in database
GPG Key ID: A69F8D225B3AD7D9
1 changed files with 0 additions and 1 deletions

View File

@ -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,