Use full path of span

Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
This commit is contained in:
Who? Me?! 2020-05-02 21:09:44 -05:00
parent 2d639a3696
commit 9c7befcdd8
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ The context is attached to AST nodes. All AST nodes generated by macros have
context attached. Additionally, there may be other nodes that have context context attached. Additionally, there may be other nodes that have context
attached, such as some desugared syntax (non-macro-expanded nodes are attached, such as some desugared syntax (non-macro-expanded nodes are
considered to just have the "root" context, as described below). considered to just have the "root" context, as described below).
Throughout the compiler, we use [`Span`s][span] to refer to code locations. Throughout the compiler, we use [`librustc_span::Span`s][span] to refer to code locations.
This struct also has hygiene information attached to it, as we will see later. This struct also has hygiene information attached to it, as we will see later.
[span]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_span/struct.Span.html [span]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_span/struct.Span.html