mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Remove usages of SpanData where Span suffices
This commit is contained in:
parent
b59c8c76db
commit
0dd89d7ee7
6 changed files with 34 additions and 31 deletions
|
@ -697,7 +697,7 @@ impl<'db> SemanticsImpl<'db> {
|
|||
};
|
||||
|
||||
// get mapped token in the include! macro file
|
||||
let span = span::SpanData {
|
||||
let span = span::Span {
|
||||
range: token.text_range(),
|
||||
anchor: span::SpanAnchor { file_id, ast_id: ROOT_ERASED_FILE_AST_ID },
|
||||
ctx: SyntaxContextId::ROOT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue