Exponential parse time with nested and out-of-order attributes #105165
Labels
C-bug
Category: This is a bug.
I-compiletime
Issue: Problems and improvements with respect to compile times.
Found with a modified fuzz-rustc
Code
Time complexity
Each additional line roughly doubles the time taken to reject the input.
Where it's slow
From
-Z time-passes
:parse_crate
From sample-head.txt:
annotate_following_item_if_applicable
is on the stack repeatedlyRegression
Regression in nightly-2021-09-06, likely from #88257 (@estebank)
Version
@rustbot label +I-compiletime
The text was updated successfully, but these errors were encountered: