rust/compiler/rustc_parse/src/parser
Matthias Krüger f9dfb6e32f
Rollup merge of #103544 - Nilstrieb:no-recovery-pls, r=compiler-errors
Add flag to forbid recovery in the parser

To start the effort of fixing #103534, this adds a new flag to the parser, which forbids the parser from doing recovery, which it shouldn't do in macros.

This doesn't add any new checks for recoveries yet and is just here to bikeshed the names for the functions here before doing more.

r? `@compiler-errors`
2022-10-27 15:03:58 +02:00
..
attr.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
attr_wrapper.rs fix assertion failed for break_last_token and trailing token 2022-10-20 20:16:27 +08:00
diagnostics.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
expr.rs Add flag to forbid recovery in the parser 2022-10-25 22:06:53 +02:00
generics.rs fix #102182, recover from impl Trait in type param bound 2022-10-08 06:47:26 +08:00
item.rs Fix the bug of next_point in span 2022-10-18 02:59:38 +08:00
mod.rs Fix typo 2022-10-26 22:06:35 +02:00
nonterminal.rs slight vertical formatting 2022-09-15 23:51:43 +08:00
pat.rs Recover unclosed char literal being parsed as lifetime 2022-10-22 06:57:12 +00:00
path.rs Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
stmt.rs fix #103425, remove extra type error after missing semicolon error 2022-10-24 09:20:07 +08:00
ty.rs Structured suggestion for missing mut/const in pointer 2022-09-27 02:47:07 +00:00