mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-13 15:33:53 +00:00
Correct target_feature completion
This commit is contained in:
parent
5bb123d970
commit
e4e2a46773
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user