about summary refs log tree commit diff
path: root/tests/ui/parser/deep-unmatched-angle-brackets.rs
AgeCommit message (Collapse)AuthorLines
2023-10-25Avoid unbounded O(n^2) when parsing nested type argsEsteban Küber-0/+17
When encountering code like `f::<f::<f::<f::<f::<f::<f::<f::<...` with unmatched closing angle brackets, add a linear check that avoids the exponential behavior of the parse recovery mechanism. Fix #117080.