make issue33140_self_ty return Option<EarlyBinder<Ty>>

This commit is contained in:
Kyle Matsuda 2023-02-14 15:55:31 -07:00
parent af3c8b2726
commit d659c7c343
2 changed files with 6 additions and 4 deletions

View file

@ -781,7 +781,7 @@ rustc_queries! {
separate_provide_extern
}
query issue33140_self_ty(key: DefId) -> Option<ty::Ty<'tcx>> {
query issue33140_self_ty(key: DefId) -> Option<ty::EarlyBinder<ty::Ty<'tcx>>> {
desc { |tcx| "computing Self type wrt issue #33140 `{}`", tcx.def_path_str(key) }
}