diff options
| author | Cameron Steffen <cam.steffen94@gmail.com> | 2022-09-09 15:08:06 -0500 |
|---|---|---|
| committer | Cameron Steffen <cam.steffen94@gmail.com> | 2022-10-07 07:06:16 -0500 |
| commit | 4a68373217e610e2e6768bae27c6b15e0377faad (patch) | |
| tree | 166a47334b30099ffdd126726a1d4839680c0688 /compiler/rustc_hir_analysis/src/check/inherited.rs | |
| parent | 58546803885164d488185fb9cb9fb04fcbe64e30 (diff) | |
| download | rust-4a68373217e610e2e6768bae27c6b15e0377faad.tar.gz rust-4a68373217e610e2e6768bae27c6b15e0377faad.zip | |
Introduce TypeErrCtxt
TypeErrCtxt optionally has a TypeckResults so that InferCtxt doesn't need to.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/check/inherited.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/check/inherited.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/check/inherited.rs b/compiler/rustc_hir_analysis/src/check/inherited.rs index 2546227e138..6c337e3eaba 100644 --- a/compiler/rustc_hir_analysis/src/check/inherited.rs +++ b/compiler/rustc_hir_analysis/src/check/inherited.rs @@ -78,7 +78,7 @@ impl<'a, 'tcx> Deref for Inherited<'a, 'tcx> { } /// A temporary returned by `Inherited::build(...)`. This is necessary -/// for multiple `InferCtxt` to share the same `in_progress_typeck_results` +/// for multiple `InferCtxt` to share the same `typeck_results` /// without using `Rc` or something similar. pub struct InheritedBuilder<'tcx> { infcx: infer::InferCtxtBuilder<'tcx>, |
