We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d66ea29 commit 4693583Copy full SHA for 4693583
1 file changed
crates/ide-completion/src/tests/fn_param.rs
@@ -15,6 +15,20 @@ fn baz(file$0) {}
15
fn foo(file_id: usize) {}
16
fn bar(file_id: usize) {}
17
fn baz(file_id: usize) {}
18
+"#,
19
+ );
20
+
21
+ check_edit(
22
+ "file_id: usize",
23
+ r#"
24
+fn foo(file_id: usize) {}
25
+fn bar(file_id: usize) {}
26
+fn baz(/*...*/ file$0) {}
27
28
29
30
31
+fn baz(/*...*/ file_id: usize) {}
32
"#,
33
);
34
}
0 commit comments