diff options
| author | Jonathan Brouwer <jonathantbrouwer@gmail.com> | 2025-06-28 13:53:37 +0200 |
|---|---|---|
| committer | Jonathan Brouwer <jonathantbrouwer@gmail.com> | 2025-06-28 13:53:37 +0200 |
| commit | 1249c142326243ae9beb9fddd9eacfc66461998b (patch) | |
| tree | c6b3563c3925207d31cb0a5c78643c78db3abfef /compiler/rustc_parse | |
| parent | d41e12f1f4e4884c356f319b881921aa37040de5 (diff) | |
| download | rust-1249c142326243ae9beb9fddd9eacfc66461998b.tar.gz rust-1249c142326243ae9beb9fddd9eacfc66461998b.zip | |
Port `#[link_name]` to the new attribute parsing infrastructure
Co-authored-by: Anne Stijns <anstijns@gmail.com> Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
Diffstat (limited to 'compiler/rustc_parse')
| -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 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; } |
