diff options
| author | Jonathan Brouwer <jonathantbrouwer@gmail.com> | 2025-06-29 11:35:31 +0200 |
|---|---|---|
| committer | Jonathan Brouwer <jonathantbrouwer@gmail.com> | 2025-07-01 16:10:07 +0200 |
| commit | 0b67d14b31aefa8a2bf8e336ee4f029e046dd545 (patch) | |
| tree | 6b263c667eb4dfa3b8cae873a735efa8ba280a13 /compiler/rustc_parse/src/validate_attr.rs | |
| parent | 149bdde97e65779b126ec1ae6bcbe152fd90f856 (diff) | |
| download | rust-0b67d14b31aefa8a2bf8e336ee4f029e046dd545.tar.gz rust-0b67d14b31aefa8a2bf8e336ee4f029e046dd545.zip | |
Fix `#[rustc_macro_transparency]` giving two errors
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 | 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 11cff88ba4f..cc95e3d6567 100644 --- a/compiler/rustc_parse/src/validate_attr.rs +++ b/compiler/rustc_parse/src/validate_attr.rs @@ -304,6 +304,7 @@ fn emit_malformed_attribute( | sym::track_caller | sym::link_name | sym::export_name + | sym::rustc_macro_transparency ) { return; } |
