Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax-bridge/src/lib.rs')
-rw-r--r--crates/syntax-bridge/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/syntax-bridge/src/lib.rs b/crates/syntax-bridge/src/lib.rs
index a59a3270c9..2dde236f0d 100644
--- a/crates/syntax-bridge/src/lib.rs
+++ b/crates/syntax-bridge/src/lib.rs
@@ -45,7 +45,7 @@ impl<S: Copy, SM: SpanMapper<S>> SpanMapper<S> for &SM {
/// Dummy things for testing where spans don't matter.
pub mod dummy_test_span_utils {
- use span::{Span, SyntaxContextId};
+ use span::{Span, SyntaxContext};
use super::*;
@@ -58,7 +58,7 @@ pub mod dummy_test_span_utils {
),
ast_id: span::ROOT_ERASED_FILE_AST_ID,
},
- ctx: SyntaxContextId::root(Edition::CURRENT),
+ ctx: SyntaxContext::root(Edition::CURRENT),
};
pub struct DummyTestSpanMap;
@@ -74,7 +74,7 @@ pub mod dummy_test_span_utils {
),
ast_id: span::ROOT_ERASED_FILE_AST_ID,
},
- ctx: SyntaxContextId::root(Edition::CURRENT),
+ ctx: SyntaxContext::root(Edition::CURRENT),
}
}
}