From 121bd5c533de2ae8b74de72f1b1dbbc7327d358b Mon Sep 17 00:00:00 2001 From: Lukas Tobias Wirth Date: Mon, 3 May 2021 21:34:34 +0200 Subject: Make CompletionContext expected_type smarter --- .../src/completions/qualified_path.rs | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'crates/ide_completion/src/completions/qualified_path.rs') diff --git a/crates/ide_completion/src/completions/qualified_path.rs b/crates/ide_completion/src/completions/qualified_path.rs index 969249df6..d8f23d1eb 100644 --- a/crates/ide_completion/src/completions/qualified_path.rs +++ b/crates/ide_completion/src/completions/qualified_path.rs @@ -736,28 +736,6 @@ fn f() {} ); } - #[test] - fn completes_function() { - check( - r#" -fn foo( - a: i32, - b: i32 -) { - -} - -fn main() { - fo$0 -} -"#, - expect![[r#" - fn main() fn() - fn foo(…) fn(i32, i32) - "#]], - ); - } - #[test] fn completes_self_enum() { check( -- cgit v1.2.3