mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 08:17:10 +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.