Auto merge of #12635 - antogilbert:tgt_feat, r=Veykril
Correct target_feature completion I changed the `target_feature` to match the description given in #12616.
This commit is contained in:
commit
4c3954682d
@ -330,9 +330,9 @@ const ATTRIBUTES: &[AttrCompletion] = &[
|
||||
attr("repr(…)", Some("repr"), Some("repr(${0:C})")),
|
||||
attr("should_panic", Some("should_panic"), Some(r#"should_panic"#)),
|
||||
attr(
|
||||
r#"target_feature = "…""#,
|
||||
r#"target_feature(enable = "…")"#,
|
||||
Some("target_feature"),
|
||||
Some(r#"target_feature = "${0:feature}""#),
|
||||
Some(r#"target_feature(enable = "${0:feature}")"#),
|
||||
),
|
||||
attr("test", None, None),
|
||||
attr("track_caller", None, None),
|
||||
|
@ -568,7 +568,7 @@ fn attr_on_fn() {
|
||||
at proc_macro_attribute
|
||||
at proc_macro_derive(…)
|
||||
at should_panic
|
||||
at target_feature = "…"
|
||||
at target_feature(enable = "…")
|
||||
at test
|
||||
at track_caller
|
||||
at warn(…)
|
||||
@ -615,7 +615,7 @@ fn attr_in_source_file_end() {
|
||||
at proc_macro_derive(…)
|
||||
at repr(…)
|
||||
at should_panic
|
||||
at target_feature = "…"
|
||||
at target_feature(enable = "…")
|
||||
at test
|
||||
at track_caller
|
||||
at used
|
||||
|
Loading…
x
Reference in New Issue
Block a user