about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/infer/mod.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-07-19 11:38:54 +0530
committerGitHub <noreply@github.com>2022-07-19 11:38:54 +0530
commitd00646b8219e9c5894cccfcd15efb51ea1e710bb (patch)
treec24714b735d96ed14aa8ec21652304c1e83b58cc /compiler/rustc_infer/src/infer/mod.rs
parent9f6a2fde347430323898baa5d36ac9a028ed37a2 (diff)
parent136f017258f9c08ef36c0ea705ddd9ffd75c5b28 (diff)
downloadrust-d00646b8219e9c5894cccfcd15efb51ea1e710bb.tar.gz
rust-d00646b8219e9c5894cccfcd15efb51ea1e710bb.zip
Rollup merge of #99347 - compiler-errors:opaque-type-key-local-def-id, r=oli-obk
Use `LocalDefId` in `OpaqueTypeKey`

Addresses a `// FIXME(oli-obk): make this a LocalDefId`

r? ``@oli-obk``
Diffstat (limited to 'compiler/rustc_infer/src/infer/mod.rs')
-rw-r--r--compiler/rustc_infer/src/infer/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/mod.rs b/compiler/rustc_infer/src/infer/mod.rs
index c5a342c1ba2..b3dc2e586d2 100644
--- a/compiler/rustc_infer/src/infer/mod.rs
+++ b/compiler/rustc_infer/src/infer/mod.rs
@@ -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>,