File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -61,18 +61,6 @@ impl<I: Interner> SpecializationPriorities<I> {
61
61
/// Store the priority of an impl (used during construction).
62
62
/// Panics if we have already stored the priority for this impl.
63
63
fn insert ( & mut self , impl_id : ImplId < I > , p : SpecializationPriority ) {
64
- // FIXME:
65
- // Previously, the code was:
66
- //
67
- // ```
68
- // let old_value = self.map.insert(impl_id, p);
69
- // assert!(old_value.is_none());
70
- // ```
71
- //
72
- // `SpecializationPriority::build_specialization_forest`
73
- // has a check to ensure we don't add duplicate nodes.
74
- // *However*, The tests only pass after removing the assertion here.
75
- // We should make sure this is correct.
76
64
self . map . insert ( impl_id, p) ;
77
65
}
78
66
}
You can’t perform that action at this time.
0 commit comments