We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6033b66 commit 1c61326Copy full SHA for 1c61326
crates/ide-completion/src/tests/use_tree.rs
@@ -8,6 +8,33 @@ fn check(ra_fixture: &str, expect: Expect) {
8
expect.assert_eq(&actual)
9
}
10
11
+#[test]
12
+fn use_tree_completion() {
13
+ check(
14
+ r#"
15
+struct implThing;
16
+
17
+use crate::{impl$0};
18
+"#,
19
+ expect![[r#"
20
+ st implThing implThing
21
+ kw self
22
+ "#]],
23
+ );
24
25
26
27
28
29
+use crate::{impl$0;
30
31
32
33
34
35
36
+}
37
38
#[test]
39
fn use_tree_start() {
40
cov_mark::check!(unqualified_path_selected_only);
0 commit comments