File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,15 @@ source to relevant places where the name was introduced. It also generates
28
28
helpful error messages, like typo suggestions, traits to import or lints about
29
29
unused items.
30
30
31
- A successful run of the second phase (` Resolver::resolve_crate ` ) creates kind
31
+ A successful run of the second phase ([ ` Resolver::resolve_crate ` ] ) creates kind
32
32
of an index the rest of the compilation may use to ask about the present names
33
33
(through the ` hir::lowering::Resolver ` interface).
34
34
35
35
The name resolution lives in the ` librustc_resolve ` crate, with the meat in
36
36
` lib.rs ` and some helpers or symbol-type specific logic in the other modules.
37
37
38
+ [ `Resolver::resolve_crate` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_resolve/struct.Resolver.html#method.resolve_crate
39
+
38
40
## Namespaces
39
41
40
42
Different kind of symbols live in different namespaces ‒ e.g. types don't
You can’t perform that action at this time.
0 commit comments