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