mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 19:16:36 +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.