mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Newtype ErasedFileAstId
This commit is contained in:
parent
fcb88832de
commit
188c577855
13 changed files with 52 additions and 39 deletions
|
@ -479,7 +479,7 @@ mod tests {
|
|||
range: TextRange::empty(TextSize::new(0)),
|
||||
anchor: span::SpanAnchor {
|
||||
file_id: EditionedFileId::current_edition(FileId::from_raw(0)),
|
||||
ast_id: span::ErasedFileAstId::from_raw(0.into()),
|
||||
ast_id: span::ErasedFileAstId::from_raw(0),
|
||||
},
|
||||
ctx: SyntaxContextId::ROOT,
|
||||
};
|
||||
|
@ -515,7 +515,7 @@ mod tests {
|
|||
range: TextRange::empty(TextSize::new(0)),
|
||||
anchor: span::SpanAnchor {
|
||||
file_id: EditionedFileId::current_edition(FileId::from_raw(0)),
|
||||
ast_id: span::ErasedFileAstId::from_raw(0.into()),
|
||||
ast_id: span::ErasedFileAstId::from_raw(0),
|
||||
},
|
||||
ctx: SyntaxContextId::ROOT,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue