mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
Fix an ICE in HashMap generalization suggestions
This commit is contained in:
@@ -1621,7 +1621,6 @@ fn suggestion<'a, 'tcx>(
|
||||
|
||||
let mut ctr_vis = ImplicitHasherConstructorVisitor::new(cx, target);
|
||||
ctr_vis.visit_body(body);
|
||||
assert!(ctr_vis.suggestions.is_empty());
|
||||
|
||||
span_lint_and_then(
|
||||
cx,
|
||||
|
||||
Reference in New Issue
Block a user