From 0b67d14b31aefa8a2bf8e336ee4f029e046dd545 Mon Sep 17 00:00:00 2001 From: Jonathan Brouwer Date: Sun, 29 Jun 2025 11:35:31 +0200 Subject: Fix `#[rustc_macro_transparency]` giving two errors Signed-off-by: Jonathan Brouwer --- compiler/rustc_parse/src/validate_attr.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler') 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; } -- cgit 1.4.1-3-g733a5