Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-completion/src/tests/item_list.rs')
-rw-r--r--crates/ide-completion/src/tests/item_list.rs12
1 files changed, 1 insertions, 11 deletions
diff --git a/crates/ide-completion/src/tests/item_list.rs b/crates/ide-completion/src/tests/item_list.rs
index d03a4fd5cd..edc896636f 100644
--- a/crates/ide-completion/src/tests/item_list.rs
+++ b/crates/ide-completion/src/tests/item_list.rs
@@ -137,6 +137,7 @@ fn after_visibility() {
expect![[r#"
kw const
kw enum
+ kw extern
kw fn
kw mod
kw static
@@ -152,12 +153,10 @@ fn after_visibility() {
#[test]
fn after_visibility_unsafe() {
- // FIXME this shouldn't show `impl`
check(
r#"pub unsafe $0"#,
expect![[r#"
kw fn
- kw impl
kw trait
"#]],
);
@@ -178,7 +177,6 @@ fn in_impl_assoc_item_list() {
kw pub(super)
kw self::
kw super::
- kw type
kw unsafe
"#]],
)
@@ -199,7 +197,6 @@ fn in_impl_assoc_item_list_after_attr() {
kw pub(super)
kw self::
kw super::
- kw type
kw unsafe
"#]],
)
@@ -249,16 +246,9 @@ impl Test for () {
ma makro!(…) macro_rules! makro
md module
ta type Type1 =
- kw const
kw crate::
- kw fn
- kw pub
- kw pub(crate)
- kw pub(super)
kw self::
kw super::
- kw type
- kw unsafe
"#]],
);
}