rust/compiler/rustc_parse/src
Esteban Küber 2dec1bc685 Avoid unbounded O(n^2) when parsing nested type args
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.
2023-10-25 19:07:34 +00:00
..
lexer Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
parser Avoid unbounded O(n^2) when parsing nested type args 2023-10-25 19:07:34 +00:00
errors.rs Detect missing => after match guard during parsing 2023-10-03 21:21:02 +00:00
lib.rs Use relative positions inside a SourceFile. 2023-09-03 12:56:10 +00:00
validate_attr.rs Remove MacDelimiter. 2023-08-03 09:03:30 +10:00