From 1249c142326243ae9beb9fddd9eacfc66461998b Mon Sep 17 00:00:00 2001 From: Jonathan Brouwer Date: Sat, 28 Jun 2025 13:53:37 +0200 Subject: Port `#[link_name]` to the new attribute parsing infrastructure Co-authored-by: Anne Stijns Signed-off-by: Jonathan Brouwer --- compiler/rustc_parse/src/validate_attr.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_parse/src') diff --git a/compiler/rustc_parse/src/validate_attr.rs b/compiler/rustc_parse/src/validate_attr.rs index 68d78af5943..8b1d864c995 100644 --- a/compiler/rustc_parse/src/validate_attr.rs +++ b/compiler/rustc_parse/src/validate_attr.rs @@ -302,6 +302,7 @@ fn emit_malformed_attribute( | sym::no_mangle | sym::must_use | sym::track_caller + | sym::link_name ) { return; } -- cgit 1.4.1-3-g733a5