diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-07-27 07:35:29 +0900 |
|---|---|---|
| committer | Joshua Nelson <github@jyn.dev> | 2022-07-29 20:12:26 -0400 |
| commit | 467f08762cc67f41319801affeab613dfaf30d3a (patch) | |
| tree | 526afc0d639a8982801108b26f8eea1463f6cfb4 /src/doc/rustc-dev-guide | |
| parent | 66547c803fa8c085de6f01954abe39fdc35dd2f5 (diff) | |
| download | rust-467f08762cc67f41319801affeab613dfaf30d3a.tar.gz rust-467f08762cc67f41319801affeab613dfaf30d3a.zip | |
Fix the link to `ResolverAstLowering`
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/name-resolution.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/name-resolution.md b/src/doc/rustc-dev-guide/src/name-resolution.md index 1cef7d08fa8..c4f44909bc5 100644 --- a/src/doc/rustc-dev-guide/src/name-resolution.md +++ b/src/doc/rustc-dev-guide/src/name-resolution.md @@ -45,7 +45,7 @@ namespaces and therefore can co-exist. The name resolution in Rust is a two-phase process. In the first phase, which runs during macro expansion, we build a tree of modules and resolve imports. Macro expansion and name resolution communicate with each other via the -[`ResolverAstLowering`] trait. +[`ResolverAstLoweringExt`] trait. The input to the second phase is the syntax tree, produced by parsing input files and expanding macros. This phase produces links from all the names in the @@ -61,7 +61,7 @@ The name resolution lives in the `rustc_resolve` crate, with the meat in `lib.rs` and some helpers or symbol-type specific logic in the other modules. [`Resolver::resolve_crate`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_resolve/struct.Resolver.html#method.resolve_crate -[`ResolverAstLowering`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast_lowering/trait.ResolverAstLowering.html +[`ResolverAstLoweringExt`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast_lowering/trait.ResolverAstLoweringExt.html ## Namespaces |
