about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/validate_attr.rs
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-07-14 11:04:52 +0200
committerGitHub <noreply@github.com>2025-07-14 11:04:52 +0200
commit93c10272d0912d9dd517f61390279a4112b9dbad (patch)
treef6f5b56f3bdbfae97d04a37fbb734f59fddfe658 /compiler/rustc_parse/src/validate_attr.rs
parentad635e5d0696076b4412dd7db7b7e8c0867d6e0c (diff)
parent75561c446afb63444e9b192563d46eccf7051c61 (diff)
downloadrust-93c10272d0912d9dd517f61390279a4112b9dbad.tar.gz
rust-93c10272d0912d9dd517f61390279a4112b9dbad.zip
Rollup merge of #143217 - Periodic1911:link-ordinal, r=jdonszelmann
Port #[link_ordinal] to the new attribute parsing infrastructure

Ports link_ordinal to the new attribute parsing infrastructure for https://github.com/rust-lang/rust/issues/131229#issuecomment-2971353197
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 3e80af82bef..d51b3b9abcf 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