For consistency with `ExpnId::root`. Also introduce a helper `Span::with_root_ctxt` for creating spans with `SyntaxContext::root()` context |
||
|---|---|---|
| .. | ||
| comments | ||
| comments.rs | ||
| mod.rs | ||
| tests.rs | ||
| tokentrees.rs | ||
| unicode_chars.rs | ||
For consistency with `ExpnId::root`. Also introduce a helper `Span::with_root_ctxt` for creating spans with `SyntaxContext::root()` context |
||
|---|---|---|
| .. | ||
| comments | ||
| comments.rs | ||
| mod.rs | ||
| tests.rs | ||
| tokentrees.rs | ||
| unicode_chars.rs | ||