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_attr_parsing/src/context.rs | |
| 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_attr_parsing/src/context.rs')
| -rw-r--r-- | compiler/rustc_attr_parsing/src/context.rs | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/compiler/rustc_attr_parsing/src/context.rs b/compiler/rustc_attr_parsing/src/context.rs index 25a1993d089..fc41e38c797 100644 --- a/compiler/rustc_attr_parsing/src/context.rs +++ b/compiler/rustc_attr_parsing/src/context.rs @@ -25,7 +25,8 @@ use crate::attributes::codegen_attrs::{ }; use crate::attributes::confusables::ConfusablesParser; use crate::attributes::crate_level::{ - CrateNameParser, MoveSizeLimitParser, RecursionLimitParser, TypeLengthLimitParser, + CrateNameParser, MoveSizeLimitParser, PatternComplexityLimitParser, RecursionLimitParser, + TypeLengthLimitParser, }; use crate::attributes::deprecation::DeprecationParser; use crate::attributes::dummy::DummyParser; @@ -187,6 +188,7 @@ attribute_parsers!( Single<MustUseParser>, Single<OptimizeParser>, Single<PathAttributeParser>, + Single<PatternComplexityLimitParser>, Single<ProcMacroDeriveParser>, Single<RecursionLimitParser>, Single<RustcBuiltinMacroParser>, | 
