1
Fork 0

Use LocalDefId in OpaqueTypeKey

This commit is contained in:
Michael Goulet 2022-07-16 20:53:08 +00:00
parent f8588549c3
commit 136f017258
15 changed files with 51 additions and 53 deletions

View file

@ -938,7 +938,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
#[instrument(skip(self), level = "debug")]
pub fn member_constraint(
&self,
opaque_type_def_id: DefId,
opaque_type_def_id: LocalDefId,
definition_span: Span,
hidden_ty: Ty<'tcx>,
region: ty::Region<'tcx>,