mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
internal: Remove FileId::BOGUS
This commit is contained in:
parent
72dfbe95de
commit
8ebabce475
8 changed files with 41 additions and 71 deletions
|
@ -47,7 +47,7 @@ pub(crate) mod dummy_test_span_utils {
|
|||
pub const DUMMY: Span = Span {
|
||||
range: TextRange::empty(TextSize::new(0)),
|
||||
anchor: span::SpanAnchor {
|
||||
file_id: span::FileId::BOGUS,
|
||||
file_id: span::FileId::from_raw(0xe4e4e),
|
||||
ast_id: span::ROOT_ERASED_FILE_AST_ID,
|
||||
},
|
||||
ctx: SyntaxContextId::ROOT,
|
||||
|
@ -60,7 +60,7 @@ pub(crate) mod dummy_test_span_utils {
|
|||
Span {
|
||||
range,
|
||||
anchor: span::SpanAnchor {
|
||||
file_id: span::FileId::BOGUS,
|
||||
file_id: span::FileId::from_raw(0xe4e4e),
|
||||
ast_id: span::ROOT_ERASED_FILE_AST_ID,
|
||||
},
|
||||
ctx: SyntaxContextId::ROOT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue