about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorAda Alakbarova <58857108+ada4a@users.noreply.github.com>2025-09-05 16:10:50 +0200
committerGitHub <noreply@github.com>2025-09-05 16:10:50 +0200
commit951733c1b99286fe417f0fbea8cb20c1a97f8b13 (patch)
treecfc7c998eb6fa7e3c28f6e057fb285f1ef8f1bb3 /src/doc
parent26f384088471a402cf9d24c17243d432605f4811 (diff)
downloadrust-951733c1b99286fe417f0fbea8cb20c1a97f8b13.tar.gz
rust-951733c1b99286fe417f0fbea8cb20c1a97f8b13.zip
Update link to `resolve_regions_and_report_errors`
Moved into `ObligationCtxt` in https://github.com/rust-lang/rust/commit/a19adefa0e5aca0aabca2430530577ee140e4efa
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/src/type-inference.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/type-inference.md b/src/doc/rustc-dev-guide/src/type-inference.md
index 2243205f129..4c51eed4e8e 100644
--- a/src/doc/rustc-dev-guide/src/type-inference.md
+++ b/src/doc/rustc-dev-guide/src/type-inference.md
@@ -242,7 +242,7 @@ as the NLL solver must not only know *what* regions outlive each other,
 but also *where*. Finally, the NLL solver invokes [`take_region_var_origins`],
 providing all region variables to the solver.
 
-[`resolve_regions_and_report_errors`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_infer/infer/struct.InferCtxt.html#method.resolve_regions_and_report_errors
+[`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
 [`lexical_region_resolve`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_infer/infer/lexical_region_resolve/index.html
 [`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
 [`take_region_var_origins`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_infer/infer/struct.InferCtxt.html#method.take_region_var_origins