about summary refs log tree commit diff
path: root/compiler/rustc_passes/src
diff options
context:
space:
mode:
authorJana Dönszelmann <jana@donsz.nl>2025-08-24 13:18:51 +0200
committerJana Dönszelmann <jana@donsz.nl>2025-09-08 14:57:28 -0700
commit5dbe099dd3b9abb13cd63f8655e495f7a8d1bfcb (patch)
tree53e50d38d80ea7f92a489d4e8fa419bb7e82e3ca /compiler/rustc_passes/src
parenta38288bbe00f64204967819fd2cfe107a7902404 (diff)
downloadrust-5dbe099dd3b9abb13cd63f8655e495f7a8d1bfcb.tar.gz
rust-5dbe099dd3b9abb13cd63f8655e495f7a8d1bfcb.zip
port `#[type_length_limit]` to the new attribute parsing infrastructure
Diffstat (limited to 'compiler/rustc_passes/src')
-rw-r--r--compiler/rustc_passes/src/check_attr.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_passes/src/check_attr.rs b/compiler/rustc_passes/src/check_attr.rs
index 08c3162b831..e69071c73e1 100644
--- a/compiler/rustc_passes/src/check_attr.rs
+++ b/compiler/rustc_passes/src/check_attr.rs
@@ -272,6 +272,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
                     | AttributeKind::CrateName { .. }
                     | AttributeKind::RecursionLimit { .. }
                     | AttributeKind::MoveSizeLimit { .. }
+                    | AttributeKind::TypeLengthLimit { .. }
                 ) => { /* do nothing  */ }
                 Attribute::Unparsed(attr_item) => {
                     style = Some(attr_item.style);