diff options
| author | Jana Dönszelmann <jana@donsz.nl> | 2025-08-24 13:19:31 +0200 | 
|---|---|---|
| committer | Jana Dönszelmann <jana@donsz.nl> | 2025-09-08 14:57:28 -0700 | 
| commit | b82171de5fe2a13a12f35ce4368ef34a477f55c4 (patch) | |
| tree | ce6c2877457a1b1fa6af9582bdf36140a368d052 /compiler/rustc_passes/src | |
| parent | 5dbe099dd3b9abb13cd63f8655e495f7a8d1bfcb (diff) | |
| download | rust-b82171de5fe2a13a12f35ce4368ef34a477f55c4.tar.gz rust-b82171de5fe2a13a12f35ce4368ef34a477f55c4.zip | |
port `#[pattern_complexity_limit]` to the new attribute parsing infrastructure
Diffstat (limited to 'compiler/rustc_passes/src')
| -rw-r--r-- | compiler/rustc_passes/src/check_attr.rs | 1 | 
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 e69071c73e1..487bdd2a888 100644 --- a/compiler/rustc_passes/src/check_attr.rs +++ b/compiler/rustc_passes/src/check_attr.rs @@ -273,6 +273,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> { | AttributeKind::RecursionLimit { .. } | AttributeKind::MoveSizeLimit { .. } | AttributeKind::TypeLengthLimit { .. } + | AttributeKind::PatternComplexityLimit { .. } ) => { /* do nothing */ } Attribute::Unparsed(attr_item) => { style = Some(attr_item.style); | 
