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> {
6161 /// Store the priority of an impl (used during construction).
6262 /// Panics if we have already stored the priority for this impl.
6363 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.
7664 self . map . insert ( impl_id, p) ;
7765 }
7866}
You can’t perform that action at this time.
0 commit comments