aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/completion_item.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/completion/completion_item.rs')
-rw-r--r--crates/ra_ide_api/src/completion/completion_item.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/completion_item.rs b/crates/ra_ide_api/src/completion/completion_item.rs
index 6003e1d89..ed0b0b7e5 100644
--- a/crates/ra_ide_api/src/completion/completion_item.rs
+++ b/crates/ra_ide_api/src/completion/completion_item.rs
@@ -427,6 +427,17 @@ mod tests {
427 frob<|>(); 427 frob<|>();
428 } 428 }
429 ", 429 ",
430 );
431 check_reference_completion(
432 "dont_render_function_parens_if_already_call_assoc_fn",
433 "
434 //- /lib.rs
435 struct Foo {}
436 impl Foo { fn new() -> Foo {} }
437 fn main() {
438 Foo::ne<|>();
439 }
440 ",
430 ) 441 )
431 } 442 }
432 443