about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/validate_attr.rs
diff options
context:
space:
mode:
authorAnne Stijns <anstijns@gmail.com>2025-06-29 23:39:09 +0200
committerAnne Stijns <anstijns@gmail.com>2025-07-13 11:51:01 +0200
commit75561c446afb63444e9b192563d46eccf7051c61 (patch)
treec36cd5e60102984fd1e4c8899c25b9b30f1416ec /compiler/rustc_parse/src/validate_attr.rs
parentbfc046a4b8d6b57db02540182466e989a9b0fb40 (diff)
downloadrust-75561c446afb63444e9b192563d46eccf7051c61.tar.gz
rust-75561c446afb63444e9b192563d46eccf7051c61.zip
Port `#[link_ordinal]` to the new attribute parsing infrastructure.
Diffstat (limited to 'compiler/rustc_parse/src/validate_attr.rs')
-rw-r--r--compiler/rustc_parse/src/validate_attr.rs1
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 bb5c1e0e653..03d4b64b823 100644
--- a/compiler/rustc_parse/src/validate_attr.rs
+++ b/compiler/rustc_parse/src/validate_attr.rs
@@ -310,6 +310,7 @@ pub fn check_builtin_meta_item(
                 | sym::must_use
                 | sym::track_caller
                 | sym::link_name
+                | sym::link_ordinal
                 | sym::export_name
                 | sym::rustc_macro_transparency
                 | sym::link_section