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-12 22:53:51 +0200
committerJonathan Brouwer <jonathantbrouwer@gmail.com>2025-07-12 22:55:48 +0200
commit86349e31dde1f9aa5a8a519ff0213c5461f7f4d7 (patch)
tree6818446f3df172bba18a16fefc6e59449e6ea8fa /compiler/rustc_parse/src/validate_attr.rs
parent915e5352448afb3c24f89117468935283bc7d2cf (diff)
downloadrust-86349e31dde1f9aa5a8a519ff0213c5461f7f4d7.tar.gz
rust-86349e31dde1f9aa5a8a519ff0213c5461f7f4d7.zip
Port `#[omit_gdb_pretty_printer_section]` 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 bb5c1e0e653..422c0982234 100644
--- a/compiler/rustc_parse/src/validate_attr.rs
+++ b/compiler/rustc_parse/src/validate_attr.rs
@@ -305,6 +305,7 @@ pub fn check_builtin_meta_item(
                 | sym::naked
                 | sym::no_mangle
                 | sym::non_exhaustive
+                | sym::omit_gdb_pretty_printer_section
                 | sym::path
                 | sym::ignore
                 | sym::must_use