We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac9d94 commit d608852Copy full SHA for d608852
chalk-solve/src/coherence.rs
@@ -61,8 +61,7 @@ impl<I: Interner> SpecializationPriorities<I> {
61
/// Store the priority of an impl (used during construction).
62
/// Panics if we have already stored the priority for this impl.
63
fn insert(&mut self, impl_id: ImplId<I>, p: SpecializationPriority) {
64
- let old_value = self.map.insert(impl_id, p);
65
- assert!(old_value.is_none());
+ self.map.insert(impl_id, p);
66
}
67
68
0 commit comments