Import declared implementations in correct order

This commit is contained in:
Ayaz Hafiz 2022-07-25 11:01:46 -04:00
parent 9a60f720d4
commit 7167b58e9e
No known key found for this signature in database
GPG Key ID: 0E2A37416A25EF58

View File

@ -467,7 +467,7 @@ impl IAbilitiesStore<Pending> {
let old_declared_impl = self
.declared_implementations
.insert((opaque, ability_member), member_impl);
.insert((ability_member, opaque), member_impl);
debug_assert!(
old_declared_impl.is_none(),
"Replacing existing declared impl!"