diff options
| author | Michael Goulet <michael@errs.io> | 2023-05-26 03:47:27 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-05-26 14:42:52 +0000 |
| commit | 3d09b990d7e3d8539a3b9655894e7e05dcc9ebf2 (patch) | |
| tree | dfa6749ec2e57eb37209bcda7db1a849247534d2 /compiler/rustc_middle | |
| parent | a810b584cf7bf6f3d0eb02cef441b510475514f9 (diff) | |
Wait until type_of to remap HIR opaques back to their defn params
Diffstat (limited to 'compiler/rustc_middle')
| -rw-r--r-- | compiler/rustc_middle/src/ty/typeck_results.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/typeck_results.rs b/compiler/rustc_middle/src/ty/typeck_results.rs index e04dbbff9a7..68bae5828c5 100644 --- a/compiler/rustc_middle/src/ty/typeck_results.rs +++ b/compiler/rustc_middle/src/ty/typeck_results.rs @@ -159,7 +159,7 @@ pub struct TypeckResults<'tcx> { /// These types are mapped back to the opaque's identity substitutions /// (with erased regions), which is why we don't associated substs with any /// of these usages. - pub concrete_opaque_types: FxIndexMap<LocalDefId, ty::OpaqueHiddenType<'tcx>>, + pub concrete_opaque_types: FxIndexMap<ty::OpaqueTypeKey<'tcx>, ty::OpaqueHiddenType<'tcx>>, /// Tracks the minimum captures required for a closure; /// see `MinCaptureInformationMap` for more details. |
