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.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crates/ide-completion/src/tests/item_list.rs b/crates/ide-completion/src/tests/item_list.rs index f320812936..d03a4fd5cd 100644 --- a/crates/ide-completion/src/tests/item_list.rs +++ b/crates/ide-completion/src/tests/item_list.rs @@ -78,7 +78,10 @@ fn in_item_list_after_attr() { check( r#"#[attr] $0"#, expect![[r#" + ma makro!(…) macro_rules! makro + md module kw const + kw crate:: kw enum kw extern kw fn @@ -87,8 +90,10 @@ fn in_item_list_after_attr() { kw pub kw pub(crate) kw pub(super) + kw self:: kw static kw struct + kw super:: kw trait kw type kw union @@ -184,11 +189,16 @@ fn in_impl_assoc_item_list_after_attr() { check( r#"impl Struct { #[attr] $0 }"#, expect![[r#" + ma makro!(…) macro_rules! makro + md module kw const + kw crate:: kw fn kw pub kw pub(crate) kw pub(super) + kw self:: + kw super:: kw type kw unsafe "#]], |