make query take (LocalDefId, DefId)
This commit is contained in:
parent
831f4402aa
commit
c1a9cf42b4
5 changed files with 28 additions and 31 deletions
|
@ -2102,8 +2102,8 @@ rustc_queries! {
|
|||
}
|
||||
|
||||
query compare_assoc_const_impl_item_with_trait_item(
|
||||
key: (&'tcx ty::AssocItem, &'tcx ty::AssocItem, ty::TraitRef<'tcx>)
|
||||
key: (LocalDefId, DefId)
|
||||
) -> Result<(), ErrorGuaranteed> {
|
||||
desc { |tcx| "checking assoc const `{}` has the same type as trait item", tcx.def_path_str(key.0.def_id) }
|
||||
desc { |tcx| "checking assoc const `{}` has the same type as trait item", tcx.def_path_str(key.0.to_def_id()) }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue