mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-30 20:44:34 +00:00
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.