File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ if expr.span.from_expansion() {
5252
5353### ` Span.ctxt ` method
5454
55- The ` span ` 's context, given by the method [ ` ctxt ` ] and returning [ SpanContext ] ,
55+ The ` span ` 's context, given by the method [ ` ctxt ` ] and returning [ SyntaxContext ] ,
5656represents if the span is from a macro expansion and, if it is, which
5757macro call expanded this span.
5858
@@ -155,4 +155,4 @@ if in_external_macro(cx.sess(), foo_span) {
155155[ `from_expansion` ] : https://doc.rust-lang.org/stable/nightly-rustc/rustc_span/struct.Span.html#method.from_expansion
156156[ `in_external_macro` ] : https://doc.rust-lang.org/stable/nightly-rustc/rustc_middle/lint/fn.in_external_macro.html
157157[ Span ] : https://doc.rust-lang.org/stable/nightly-rustc/rustc_span/struct.Span.html
158- [ SpanContext ] : https://doc.rust-lang.org/stable/nightly-rustc/rustc_span/hygiene/struct.SyntaxContext.html
158+ [ SyntaxContext ] : https://doc.rust-lang.org/stable/nightly-rustc/rustc_span/hygiene/struct.SyntaxContext.html
You can’t perform that action at this time.
0 commit comments