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.rs28
1 files changed, 14 insertions, 14 deletions
diff --git a/crates/ide-completion/src/tests/item_list.rs b/crates/ide-completion/src/tests/item_list.rs
index 0b2be0265f..430c61887a 100644
--- a/crates/ide-completion/src/tests/item_list.rs
+++ b/crates/ide-completion/src/tests/item_list.rs
@@ -43,7 +43,7 @@ fn in_source_file_item_list() {
r#"$0"#,
expect![[r#"
ma makro!(…) macro_rules! makro
- md module
+ md module::
kw async
kw const
kw crate::
@@ -77,7 +77,7 @@ fn in_item_list_after_attr() {
r#"#[attr] $0"#,
expect![[r#"
ma makro!(…) macro_rules! makro
- md module
+ md module::
kw async
kw const
kw crate::
@@ -111,7 +111,7 @@ fn in_item_list_after_inner_attr() {
r#"#![attr] $0"#,
expect![[r#"
ma makro!(…) macro_rules! makro
- md module
+ md module::
kw async
kw const
kw crate::
@@ -145,7 +145,7 @@ fn in_qualified_path() {
r#"crate::$0"#,
expect![[r#"
ma makro!(…) macro_rules! makro
- md module
+ md module::
"#]],
)
}
@@ -315,7 +315,7 @@ fn in_impl_assoc_item_list() {
r#"impl Struct { $0 }"#,
expect![[r#"
ma makro!(…) macro_rules! makro
- md module
+ md module::
kw async
kw const
kw crate::
@@ -335,7 +335,7 @@ fn in_impl_assoc_item_list_after_attr() {
r#"impl Struct { #[attr] $0 }"#,
expect![[r#"
ma makro!(…) macro_rules! makro
- md module
+ md module::
kw async
kw const
kw crate::
@@ -355,7 +355,7 @@ fn in_trait_assoc_item_list() {
r"trait Foo { $0 }",
expect![[r#"
ma makro!(…) macro_rules! makro
- md module
+ md module::
kw async
kw const
kw crate::
@@ -373,7 +373,7 @@ fn in_trait_assoc_fn_missing_body() {
r#"trait Foo { fn function(); $0 }"#,
expect![[r#"
ma makro!(…) macro_rules! makro
- md module
+ md module::
kw async
kw const
kw crate::
@@ -391,7 +391,7 @@ fn in_trait_assoc_const_missing_body() {
r#"trait Foo { const CONST: (); $0 }"#,
expect![[r#"
ma makro!(…) macro_rules! makro
- md module
+ md module::
kw async
kw const
kw crate::
@@ -409,7 +409,7 @@ fn in_trait_assoc_type_aliases_missing_ty() {
r#"trait Foo { type Type; $0 }"#,
expect![[r#"
ma makro!(…) macro_rules! makro
- md module
+ md module::
kw async
kw const
kw crate::
@@ -448,7 +448,7 @@ impl Test for () {
fn fn function1()
fn fn function2()
ma makro!(…) macro_rules! makro
- md module
+ md module::
ta type Type1 =
kw crate::
kw self::
@@ -514,7 +514,7 @@ fn after_unit_struct() {
r#"struct S; f$0"#,
expect![[r#"
ma makro!(…) macro_rules! makro
- md module
+ md module::
kw async
kw const
kw crate::
@@ -664,7 +664,7 @@ fn inside_extern_blocks() {
r#"extern { $0 }"#,
expect![[r#"
ma makro!(…) macro_rules! makro
- md module
+ md module::
kw crate::
kw fn
kw pub
@@ -681,7 +681,7 @@ fn inside_extern_blocks() {
r#"unsafe extern { $0 }"#,
expect![[r#"
ma makro!(…) macro_rules! makro
- md module
+ md module::
kw crate::
kw fn
kw pub