File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,12 @@ sorts of identifiers in active use:
102102[ `BodyId` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/struct.BodyId.html
103103[ `NodeId` ] : https://doc.rust-lang.org/nightly/nightly-rustc/syntax/ast/struct.NodeId.html
104104
105+ We also have an internal map to go from ` DefId ` to what’s called "Def path". "Def path" is like a
106+ module path but a bit more rich. For example, it may be ` crate::foo::MyStruct ` that identifies
107+ this definition uniquely. It’s a bit different than a module path because it might include a type
108+ parameter ` T ` , which you can't write in normal rust, like ` crate::foo::MyStruct::T ` . These are used
109+ in incremental compilation.
110+
105111### The HIR Map
106112
107113Most of the time when you are working with the HIR, you will do so via
You can’t perform that action at this time.
0 commit comments