about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/attrs/data_structures.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_hir/src/attrs/data_structures.rs')
-rw-r--r--compiler/rustc_hir/src/attrs/data_structures.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_hir/src/attrs/data_structures.rs b/compiler/rustc_hir/src/attrs/data_structures.rs
index 22b39cb19e1..c4e068ad425 100644
--- a/compiler/rustc_hir/src/attrs/data_structures.rs
+++ b/compiler/rustc_hir/src/attrs/data_structures.rs
@@ -599,6 +599,9 @@ pub enum AttributeKind {
     /// Represents `#[path]`
     Path(Symbol, Span),
 
+    /// Represents `#[pattern_complexity_limit]`
+    PatternComplexityLimit { attr_span: Span, limit_span: Span, limit: usize },
+
     /// Represents `#[pointee]`
     Pointee(Span),