diff options
| author | bors <bors@rust-lang.org> | 2022-11-01 12:15:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-01 12:15:10 +0000 |
| commit | e70cbef0c5db81079f4b5643380d6047ccd34a10 (patch) | |
| tree | 6123ac4c7d8880a04e10a9e75f291b19001caa3c /compiler/rustc_infer/src | |
| parent | c493bae0d8efd75723460ce5c371f726efa93f15 (diff) | |
| parent | 2f9794b84a4ae882edd428c1c3764eec99cdebff (diff) | |
| download | rust-e70cbef0c5db81079f4b5643380d6047ccd34a10.tar.gz rust-e70cbef0c5db81079f4b5643380d6047ccd34a10.zip | |
Auto merge of #103590 - compiler-errors:ocx-more, r=lcnr
(almost) Always use `ObligationCtxt` when dealing with canonical queries Hope this is a step in the right direction. cc rust-lang/types-team#50. r? `@lcnr`
Diffstat (limited to 'compiler/rustc_infer/src')
| -rw-r--r-- | compiler/rustc_infer/src/infer/canonical/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/canonical/mod.rs b/compiler/rustc_infer/src/infer/canonical/mod.rs index 06ca2534d5c..cbd6481f9cb 100644 --- a/compiler/rustc_infer/src/infer/canonical/mod.rs +++ b/compiler/rustc_infer/src/infer/canonical/mod.rs @@ -43,7 +43,7 @@ impl<'tcx> InferCtxt<'tcx> { /// /// This is only meant to be invoked as part of constructing an /// inference context at the start of a query (see - /// `InferCtxtBuilder::enter_with_canonical`). It basically + /// `InferCtxtBuilder::build_with_canonical`). It basically /// brings the canonical value "into scope" within your new infcx. /// /// At the end of processing, the substitution S (once |
