aboutsummaryrefslogtreecommitdiff
path: root/crates/ide
diff options
context:
space:
mode:
authorAdnoC <[email protected]>2020-12-30 05:52:47 +0000
committerAdnoC <[email protected]>2020-12-30 05:52:47 +0000
commit58c1949a7b49ca6edc8dc4080b0850a346ad8bd3 (patch)
tree0fc0cf33614479ddec9e4d8cfa7f155bc26cf019 /crates/ide
parent6eeec5d75f0757c341440198fde90c3363226307 (diff)
test for new behavior
Diffstat (limited to 'crates/ide')
-rw-r--r--crates/ide/src/diagnostics.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/crates/ide/src/diagnostics.rs b/crates/ide/src/diagnostics.rs
index 53f8bccdc..79d126ff2 100644
--- a/crates/ide/src/diagnostics.rs
+++ b/crates/ide/src/diagnostics.rs
@@ -644,6 +644,22 @@ mod a {
644} 644}
645"#, 645"#,
646 ); 646 );
647 check_no_diagnostics(
648 r#"
649use a;
650use a::{
651 c,
652 // d::e
653};
654
655mod a {
656 mod c {}
657 mod d {
658 mod e {}
659 }
660}
661"#,
662 );
647 check_fix( 663 check_fix(
648 r" 664 r"
649 mod b {} 665 mod b {}