diff options
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting/html.rs | 2 | ||||
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting/injection.rs | 2 | ||||
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting/tests.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting/html.rs b/crates/ra_ide/src/syntax_highlighting/html.rs index a5e7d2867..418122648 100644 --- a/crates/ra_ide/src/syntax_highlighting/html.rs +++ b/crates/ra_ide/src/syntax_highlighting/html.rs | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | use oorandom::Rand32; | 3 | use oorandom::Rand32; |
4 | use ra_db::SourceDatabase; | 4 | use ra_db::SourceDatabase; |
5 | use ra_syntax::{AstNode, TextRange, TextSize}; | 5 | use syntax::{AstNode, TextRange, TextSize}; |
6 | 6 | ||
7 | use crate::{syntax_highlighting::highlight, FileId, RootDatabase}; | 7 | use crate::{syntax_highlighting::highlight, FileId, RootDatabase}; |
8 | 8 | ||
diff --git a/crates/ra_ide/src/syntax_highlighting/injection.rs b/crates/ra_ide/src/syntax_highlighting/injection.rs index 6046643ef..43f4e6fea 100644 --- a/crates/ra_ide/src/syntax_highlighting/injection.rs +++ b/crates/ra_ide/src/syntax_highlighting/injection.rs | |||
@@ -5,7 +5,7 @@ use std::{collections::BTreeMap, convert::TryFrom}; | |||
5 | use ast::{HasQuotes, HasStringValue}; | 5 | use ast::{HasQuotes, HasStringValue}; |
6 | use hir::Semantics; | 6 | use hir::Semantics; |
7 | use itertools::Itertools; | 7 | use itertools::Itertools; |
8 | use ra_syntax::{ast, AstToken, SyntaxNode, SyntaxToken, TextRange, TextSize}; | 8 | use syntax::{ast, AstToken, SyntaxNode, SyntaxToken, TextRange, TextSize}; |
9 | 9 | ||
10 | use crate::{ | 10 | use crate::{ |
11 | call_info::ActiveParameter, Analysis, Highlight, HighlightModifier, HighlightTag, | 11 | call_info::ActiveParameter, Analysis, Highlight, HighlightModifier, HighlightTag, |
diff --git a/crates/ra_ide/src/syntax_highlighting/tests.rs b/crates/ra_ide/src/syntax_highlighting/tests.rs index a8087635a..594f61e85 100644 --- a/crates/ra_ide/src/syntax_highlighting/tests.rs +++ b/crates/ra_ide/src/syntax_highlighting/tests.rs | |||
@@ -135,7 +135,7 @@ fn bar() { | |||
135 | 135 | ||
136 | #[test] | 136 | #[test] |
137 | fn accidentally_quadratic() { | 137 | fn accidentally_quadratic() { |
138 | let file = project_dir().join("crates/ra_syntax/test_data/accidentally_quadratic"); | 138 | let file = project_dir().join("crates/syntax/test_data/accidentally_quadratic"); |
139 | let src = fs::read_to_string(file).unwrap(); | 139 | let src = fs::read_to_string(file).unwrap(); |
140 | 140 | ||
141 | let (analysis, file_id) = single_file(&src); | 141 | let (analysis, file_id) = single_file(&src); |