diff options
| author | Jana Dönszelmann <jana@donsz.nl> | 2025-03-09 23:46:47 +0100 |
|---|---|---|
| committer | Jana Dönszelmann <jana@donsz.nl> | 2025-06-18 13:48:42 +0200 |
| commit | b64fd13a04e03bd260b550430daa6fbdf1fb27c9 (patch) | |
| tree | e0146f6e81a64818c98c623035d4fe2609c20367 /compiler/rustc_parse/src/validate_attr.rs | |
| parent | 1bb335244c311a07cee165c28c553c869e6f64a9 (diff) | |
| download | rust-b64fd13a04e03bd260b550430daa6fbdf1fb27c9.tar.gz rust-b64fd13a04e03bd260b550430daa6fbdf1fb27c9.zip | |
convert the `optimize` attribute to a new parser
Diffstat (limited to 'compiler/rustc_parse/src/validate_attr.rs')
| -rw-r--r-- | compiler/rustc_parse/src/validate_attr.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_parse/src/validate_attr.rs b/compiler/rustc_parse/src/validate_attr.rs index b3096e46b09..1fbc970e2a7 100644 --- a/compiler/rustc_parse/src/validate_attr.rs +++ b/compiler/rustc_parse/src/validate_attr.rs @@ -290,6 +290,7 @@ fn emit_malformed_attribute( | sym::rustc_confusables | sym::repr | sym::deprecated + | sym::optimize ) { return; } |
