aboutsummaryrefslogtreecommitdiff
path: root/crates/completion
diff options
context:
space:
mode:
authorFlowerBOII <[email protected]>2021-01-06 11:04:23 +0000
committerFlowerBOII <[email protected]>2021-01-06 11:04:23 +0000
commit220c838bc6d97772f96a5b2b85579e49c6f8e929 (patch)
tree1c22e950c083a5371e645647eabbb89c50a66318 /crates/completion
parentdb0a844ad83cb8a68e91ec40c2fa0680f512b012 (diff)
Remove the args for the must_use attibute and change the related tests
Diffstat (limited to 'crates/completion')
-rw-r--r--crates/completion/src/completions/attribute.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/completion/src/completions/attribute.rs b/crates/completion/src/completions/attribute.rs
index 53c2e87dc..525ce7684 100644
--- a/crates/completion/src/completions/attribute.rs
+++ b/crates/completion/src/completions/attribute.rs
@@ -121,7 +121,7 @@ const ATTRIBUTES: &[AttrCompletion] = &[
121 ), 121 ),
122 attr("macro_export", None, None), 122 attr("macro_export", None, None),
123 attr("macro_use", None, None), 123 attr("macro_use", None, None),
124 attr(r#"must_use = "…""#, Some("must_use"), Some(r#"must_use = "${0:reason}""#)), 124 attr(r#"must_use"#, Some("must_use"), Some(r#"must_use"#)),
125 attr("no_link", None, None).prefer_inner(), 125 attr("no_link", None, None).prefer_inner(),
126 attr("no_implicit_prelude", None, None).prefer_inner(), 126 attr("no_implicit_prelude", None, None).prefer_inner(),
127 attr("no_main", None, None).prefer_inner(), 127 attr("no_main", None, None).prefer_inner(),
@@ -488,7 +488,7 @@ struct Test {}
488 at link_section = "…" 488 at link_section = "…"
489 at macro_export 489 at macro_export
490 at macro_use 490 at macro_use
491 at must_use = "…" 491 at must_use
492 at no_mangle 492 at no_mangle
493 at non_exhaustive 493 at non_exhaustive
494 at path = "…" 494 at path = "…"
@@ -537,7 +537,7 @@ struct Test {}
537 at link_section = "…" 537 at link_section = "…"
538 at macro_export 538 at macro_export
539 at macro_use 539 at macro_use
540 at must_use = "…" 540 at must_use
541 at no_link 541 at no_link
542 at no_implicit_prelude 542 at no_implicit_prelude
543 at no_main 543 at no_main