pub(crate) trait Key {
type KeyIndex;
// Required methods
fn crate_num(self) -> CrateNum;
fn to_index(self) -> Self::KeyIndex;
fn name(self, tcx: TyCtxt<'_>) -> String;
}Expand description
Trait to deal with the fact that assoc_refinmenents_of and assoc_refinements_def use
FluxId<K> as key;