diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-07-19 11:38:54 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-19 11:38:54 +0530 |
| commit | d00646b8219e9c5894cccfcd15efb51ea1e710bb (patch) | |
| tree | c24714b735d96ed14aa8ec21652304c1e83b58cc /compiler/rustc_middle/src/ty/context.rs | |
| parent | 9f6a2fde347430323898baa5d36ac9a028ed37a2 (diff) | |
| parent | 136f017258f9c08ef36c0ea705ddd9ffd75c5b28 (diff) | |
| download | rust-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_middle/src/ty/context.rs')
| -rw-r--r-- | compiler/rustc_middle/src/ty/context.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/context.rs b/compiler/rustc_middle/src/ty/context.rs index a594dab2e20..0f98d19820e 100644 --- a/compiler/rustc_middle/src/ty/context.rs +++ b/compiler/rustc_middle/src/ty/context.rs @@ -542,7 +542,7 @@ pub struct TypeckResults<'tcx> { /// even if they are only set in dead code (which doesn't show up in MIR). /// For type-alias-impl-trait, this map is only used to prevent query cycles, /// so the hidden types are all `None`. - pub concrete_opaque_types: VecMap<DefId, Option<Ty<'tcx>>>, + pub concrete_opaque_types: VecMap<LocalDefId, Option<Ty<'tcx>>>, /// Tracks the minimum captures required for a closure; /// see `MinCaptureInformationMap` for more details. |
