Skip to content

Commit f13cc85

Browse files
committed
Update renamed take_region_var_origins
This was first renamed to `get_region_var_origins` in rust-lang/rust#109753, and then to `get_region_var_infos` in rust-lang/rust@b0fc1d4
1 parent a7d3856 commit f13cc85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/type-inference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,13 @@ differently. It uses canonical queries for trait solving which use
239239
[`take_and_reset_region_constraints`] at the end. This extracts all of the
240240
outlives constraints added during the canonical query. This is required
241241
as the NLL solver must not only know *what* regions outlive each other,
242-
but also *where*. Finally, the NLL solver invokes [`take_region_var_origins`],
242+
but also *where*. Finally, the NLL solver invokes [`get_region_var_infos`],
243243
providing all region variables to the solver.
244244

245245
[`resolve_regions_and_report_errors`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_trait_selection/traits/struct.ObligationCtxt.html#method.resolve_regions_and_report_errors
246246
[`lexical_region_resolve`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_infer/infer/lexical_region_resolve/index.html
247247
[`take_and_reset_region_constraints`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_infer/infer/struct.InferCtxt.html#method.take_and_reset_region_constraints
248-
[`take_region_var_origins`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_infer/infer/struct.InferCtxt.html#method.take_region_var_origins
248+
[`get_region_var_infos`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_infer/infer/struct.InferCtxt.html#method.get_region_var_infos
249249

250250
## Lexical region resolution
251251

0 commit comments

Comments
 (0)