diff options
| author | Jonathan Brouwer <jonathantbrouwer@gmail.com> | 2025-06-25 09:47:48 +0200 |
|---|---|---|
| committer | Jonathan Brouwer <jonathantbrouwer@gmail.com> | 2025-07-03 07:54:19 +0200 |
| commit | 3d5d72b76105056af5886cbad4661a26f9409b8e (patch) | |
| tree | d6052fe37acd26146cbd4b060ca9b323089180bc /compiler/rustc_parse/src/validate_attr.rs | |
| parent | 25face9808491588e59b6d7844f2185b09eef479 (diff) | |
| download | rust-3d5d72b76105056af5886cbad4661a26f9409b8e.tar.gz rust-3d5d72b76105056af5886cbad4661a26f9409b8e.zip | |
Port `#[target_feature]` to the new attribute parsing infrastructure
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
Diffstat (limited to 'compiler/rustc_parse/src/validate_attr.rs')
| -rw-r--r-- | compiler/rustc_parse/src/validate_attr.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_parse/src/validate_attr.rs b/compiler/rustc_parse/src/validate_attr.rs index 6c2c571d240..4d64cdeb69a 100644 --- a/compiler/rustc_parse/src/validate_attr.rs +++ b/compiler/rustc_parse/src/validate_attr.rs @@ -298,6 +298,8 @@ fn emit_malformed_attribute( | sym::deprecated | sym::optimize | sym::cold + | sym::target_feature + | sym::rustc_allow_const_fn_unstable | sym::naked | sym::no_mangle | sym::must_use |
