about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/validate_attr.rs
diff options
context:
space:
mode:
authorJonathan Brouwer <jonathantbrouwer@gmail.com>2025-07-06 22:16:42 +0200
committerJonathan Brouwer <jonathantbrouwer@gmail.com>2025-07-06 22:19:16 +0200
commit244d64e60b94d9ffba58a2f4e38430378aa79037 (patch)
tree78389367873c2abf369ecd9ebbaec8de1d3a5bfc /compiler/rustc_parse/src/validate_attr.rs
parentef3d7741e5f9e61b50a6023694981c913de54526 (diff)
downloadrust-244d64e60b94d9ffba58a2f4e38430378aa79037.tar.gz
rust-244d64e60b94d9ffba58a2f4e38430378aa79037.zip
Port `#[path]` to the new attribute parsing infrastructure
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
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 66bf9851f97..67b68e77d2b 100644
--- a/compiler/rustc_parse/src/validate_attr.rs
+++ b/compiler/rustc_parse/src/validate_attr.rs
@@ -289,6 +289,7 @@ pub fn check_builtin_meta_item(
                 | sym::naked
                 | sym::no_mangle
                 | sym::non_exhaustive
+                | sym::path
                 | sym::ignore
                 | sym::must_use
                 | sym::track_caller