diff options
author | Paul Daniel Faria <[email protected]> | 2020-08-04 14:23:23 +0100 |
---|---|---|
committer | Paul Daniel Faria <[email protected]> | 2020-08-04 14:26:38 +0100 |
commit | cc3eb8531177940ad34ff505f0426151b985daf3 (patch) | |
tree | d3747ffe09300a7fb276aeb564219a87a9bbe337 /crates/ra_ide/src/syntax_highlighting | |
parent | 2b0c2f6771d35bdfe7d333f450572c8a71e1d166 (diff) |
Add test showing unresolved module rename
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting/tests.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting/tests.rs b/crates/ra_ide/src/syntax_highlighting/tests.rs index 87a6e2523..2deee404c 100644 --- a/crates/ra_ide/src/syntax_highlighting/tests.rs +++ b/crates/ra_ide/src/syntax_highlighting/tests.rs | |||
@@ -9,6 +9,9 @@ use crate::{mock_analysis::single_file, FileRange, TextRange}; | |||
9 | fn test_highlighting() { | 9 | fn test_highlighting() { |
10 | check_highlighting( | 10 | check_highlighting( |
11 | r#" | 11 | r#" |
12 | use inner::{self as inner_mod}; | ||
13 | mod inner {} | ||
14 | |||
12 | #[derive(Clone, Debug)] | 15 | #[derive(Clone, Debug)] |
13 | struct Foo { | 16 | struct Foo { |
14 | pub x: i32, | 17 | pub x: i32, |