about summary refs log tree commit diff
path: root/compiler/rustc_passes
diff options
context:
space:
mode:
authorJana Dönszelmann <jana@donsz.nl>2025-08-24 13:14:27 +0200
committerJana Dönszelmann <jana@donsz.nl>2025-09-08 14:57:28 -0700
commita38288bbe00f64204967819fd2cfe107a7902404 (patch)
tree1f706e820cfe614ba69d65d41c8b6922acfce898 /compiler/rustc_passes
parent92f24020967e4e1f1375dbb2d1ba85cd4430fc78 (diff)
downloadrust-a38288bbe00f64204967819fd2cfe107a7902404.tar.gz
rust-a38288bbe00f64204967819fd2cfe107a7902404.zip
port `#[move_size_limit]` to the new attribute parsing infrastructure
Diffstat (limited to 'compiler/rustc_passes')
-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 9a94f849a08..08c3162b831 100644
--- a/compiler/rustc_passes/src/check_attr.rs
+++ b/compiler/rustc_passes/src/check_attr.rs
@@ -271,6 +271,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
                     | AttributeKind::MustUse { .. }
                     | AttributeKind::CrateName { .. }
                     | AttributeKind::RecursionLimit { .. }
+                    | AttributeKind::MoveSizeLimit { .. }
                 ) => { /* do nothing  */ }
                 Attribute::Unparsed(attr_item) => {
                     style = Some(attr_item.style);