(almost) Always use ObligationCtxt when dealing with canonical queries
This commit is contained in:
parent
0da281b606
commit
d793d80cf7
8 changed files with 104 additions and 111 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue