Use ImplKey in abilities store public API

This commit is contained in:
Ayaz Hafiz 2022-07-25 12:00:54 -04:00
parent 923341ec95
commit 28c1a4cb95
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
6 changed files with 48 additions and 50 deletions

View file

@ -593,7 +593,7 @@ pub fn find_ability_member_and_owning_type_at(
abilities_store
.iter_declared_implementations()
.find(|(_, member_impl)| matches!(member_impl, MemberImpl::Impl(sym) if *sym == symbol))
.map(|(spec, _)| spec.1)
.map(|(impl_key, _)| impl_key.opaque)
}
}