aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_completion/src/completions/attribute.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide_completion/src/completions/attribute.rs')
-rw-r--r--crates/ide_completion/src/completions/attribute.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ide_completion/src/completions/attribute.rs b/crates/ide_completion/src/completions/attribute.rs
index 9780d01ae..78fc30e16 100644
--- a/crates/ide_completion/src/completions/attribute.rs
+++ b/crates/ide_completion/src/completions/attribute.rs
@@ -788,13 +788,13 @@ mod tests {
788 at target_feature = "…" 788 at target_feature = "…"
789 at test 789 at test
790 at track_caller 790 at track_caller
791 kw return
792 "#]], 791 "#]],
793 ); 792 );
794 } 793 }
795 794
796 #[test] 795 #[test]
797 fn complete_attribute_on_expr() { 796 fn complete_attribute_on_expr() {
797 cov_mark::check!(no_keyword_completion_in_attr_of_expr);
798 check( 798 check(
799 r#"fn main() { #[$0] foo() }"#, 799 r#"fn main() { #[$0] foo() }"#,
800 expect![[r#" 800 expect![[r#"
@@ -804,7 +804,6 @@ mod tests {
804 at deny(…) 804 at deny(…)
805 at forbid(…) 805 at forbid(…)
806 at warn(…) 806 at warn(…)
807 kw return
808 "#]], 807 "#]],
809 ); 808 );
810 } 809 }