Skip to content

Commit bbbd60d

Browse files
JohnTitorjyn514
authored andcommitted
Fix the link to ResolverAstLowering
Signed-off-by: Yuki Okushi <[email protected]>
1 parent 18fa8fb commit bbbd60d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/name-resolution.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ namespaces and therefore can co-exist.
4545
The name resolution in Rust is a two-phase process. In the first phase, which runs
4646
during macro expansion, we build a tree of modules and resolve imports. Macro
4747
expansion and name resolution communicate with each other via the
48-
[`ResolverAstLowering`] trait.
48+
[`ResolverAstLoweringExt`] trait.
4949

5050
The input to the second phase is the syntax tree, produced by parsing input
5151
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
6161
`lib.rs` and some helpers or symbol-type specific logic in the other modules.
6262

6363
[`Resolver::resolve_crate`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_resolve/struct.Resolver.html#method.resolve_crate
64-
[`ResolverAstLowering`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast_lowering/trait.ResolverAstLowering.html
64+
[`ResolverAstLoweringExt`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast_lowering/trait.ResolverAstLoweringExt.html
6565

6666
## Namespaces
6767

0 commit comments

Comments
 (0)