Use OpaqueTypeKey in query response

This commit is contained in:
Michael Goulet
2023-05-10 23:41:00 +00:00
parent cba14074bb
commit 6f27876f62
3 changed files with 24 additions and 8 deletions

View File

@@ -280,7 +280,7 @@ pub struct QueryResponse<'tcx, R> {
/// should get its hidden type inferred. So we bubble the opaque type
/// and the type it was compared against upwards and let the query caller
/// handle it.
pub opaque_types: Vec<(Ty<'tcx>, Ty<'tcx>)>,
pub opaque_types: Vec<(ty::OpaqueTypeKey<'tcx>, Ty<'tcx>)>,
pub value: R,
}