Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--crates/ide-completion/src/completions/item_list.rs2
-rw-r--r--crates/ide-completion/src/completions/keyword.rs1
-rw-r--r--crates/ide-completion/src/tests/expression.rs14
-rw-r--r--crates/ide-completion/src/tests/item.rs1
-rw-r--r--crates/ide-completion/src/tests/item_list.rs5
-rw-r--r--crates/ide-completion/src/tests/special.rs4
6 files changed, 0 insertions, 27 deletions
diff --git a/crates/ide-completion/src/completions/item_list.rs b/crates/ide-completion/src/completions/item_list.rs
index 30ffeff261..58e7f584ed 100644
--- a/crates/ide-completion/src/completions/item_list.rs
+++ b/crates/ide-completion/src/completions/item_list.rs
@@ -115,7 +115,6 @@ fn add_keywords(acc: &mut Completions, ctx: &CompletionContext<'_>, kind: Option
if no_vis_qualifiers {
add_keyword("impl", "impl $1 {\n $0\n}");
add_keyword("impl for", "impl $1 for $2 {\n $0\n}");
- add_keyword("impl<> for <>", "impl<$4> $1 for $2<$3> {\n $0\n}");
}
}
@@ -147,7 +146,6 @@ fn add_keywords(acc: &mut Completions, ctx: &CompletionContext<'_>, kind: Option
if no_vis_qualifiers {
add_keyword("impl", "impl $1 {\n $0\n}");
add_keyword("impl for", "impl $1 for $2 {\n $0\n}");
- add_keyword("impl<> for <>", "impl<$4> $1 for $2<$3> {\n $0\n}");
}
}
diff --git a/crates/ide-completion/src/completions/keyword.rs b/crates/ide-completion/src/completions/keyword.rs
index d0ba910d93..039742463c 100644
--- a/crates/ide-completion/src/completions/keyword.rs
+++ b/crates/ide-completion/src/completions/keyword.rs
@@ -57,7 +57,6 @@ mod tests {
kw fn
kw impl
kw impl for
- kw impl<> for <>
kw trait
"#]],
);
diff --git a/crates/ide-completion/src/tests/expression.rs b/crates/ide-completion/src/tests/expression.rs
index 5314be3c7f..46a725db67 100644
--- a/crates/ide-completion/src/tests/expression.rs
+++ b/crates/ide-completion/src/tests/expression.rs
@@ -172,7 +172,6 @@ impl Unit {
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -252,7 +251,6 @@ fn complete_in_block() {
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -305,7 +303,6 @@ fn complete_after_if_expr() {
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -382,7 +379,6 @@ fn completes_in_loop_ctx() {
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -970,7 +966,6 @@ fn foo() { if foo {} $0 }
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -1014,7 +1009,6 @@ fn foo() { if foo {} el$0 }
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -1108,7 +1102,6 @@ fn foo() { if foo {} $0 let x = 92; }
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -1152,7 +1145,6 @@ fn foo() { if foo {} el$0 let x = 92; }
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -1196,7 +1188,6 @@ fn foo() { if foo {} el$0 { let x = 92; } }
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -1250,7 +1241,6 @@ pub struct UnstableThisShouldNotBeListed;
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -1306,7 +1296,6 @@ pub struct UnstableButWeAreOnNightlyAnyway;
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -1552,7 +1541,6 @@ fn main() {
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -2011,7 +1999,6 @@ fn bar() {
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -2085,7 +2072,6 @@ fn foo() {
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
diff --git a/crates/ide-completion/src/tests/item.rs b/crates/ide-completion/src/tests/item.rs
index a2d2cf39c2..55689034fb 100644
--- a/crates/ide-completion/src/tests/item.rs
+++ b/crates/ide-completion/src/tests/item.rs
@@ -285,7 +285,6 @@ fn bar() {
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
diff --git a/crates/ide-completion/src/tests/item_list.rs b/crates/ide-completion/src/tests/item_list.rs
index ee77845588..fcdf10c856 100644
--- a/crates/ide-completion/src/tests/item_list.rs
+++ b/crates/ide-completion/src/tests/item_list.rs
@@ -17,7 +17,6 @@ fn in_mod_item_list() {
kw fn
kw impl
kw impl for
- kw impl<> for <>
kw mod
kw pub
kw pub(crate)
@@ -53,7 +52,6 @@ fn in_source_file_item_list() {
kw fn
kw impl
kw impl for
- kw impl<> for <>
kw mod
kw pub
kw pub(crate)
@@ -88,7 +86,6 @@ fn in_item_list_after_attr() {
kw fn
kw impl
kw impl for
- kw impl<> for <>
kw mod
kw pub
kw pub(crate)
@@ -129,7 +126,6 @@ fn after_unsafe_token() {
kw fn
kw impl
kw impl for
- kw impl<> for <>
kw trait
"#]],
);
@@ -394,7 +390,6 @@ fn after_unit_struct() {
kw fn
kw impl
kw impl for
- kw impl<> for <>
kw mod
kw pub
kw pub(crate)
diff --git a/crates/ide-completion/src/tests/special.rs b/crates/ide-completion/src/tests/special.rs
index ca579b8fc1..347febce01 100644
--- a/crates/ide-completion/src/tests/special.rs
+++ b/crates/ide-completion/src/tests/special.rs
@@ -1009,7 +1009,6 @@ fn here_we_go() {
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -1062,7 +1061,6 @@ fn here_we_go() {
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -1189,7 +1187,6 @@ fn bar() { qu$0 }
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop
@@ -1448,7 +1445,6 @@ fn foo() {
kw if let
kw impl
kw impl for
- kw impl<> for <>
kw let
kw letm
kw loop