rust/compiler/rustc_expand/src
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
..
mbe Add flag to forbid recovery in the parser 2022-10-25 22:06:53 +02:00
mut_visit rustc_ast: Turn MutVisitor::token_visiting_enabled into a constant 2021-10-18 00:23:24 +03:00
parse Remove TreeAndSpacing. 2022-07-29 15:52:15 +10:00
tokenstream Remove TokenStreamBuilder. 2022-10-05 12:42:54 +11:00
base.rs Only apply ProceduralMasquerade hack to older versions of rental 2022-10-21 21:36:00 -05:00
build.rs Rewrite and refactor format_args!() builtin macro. 2022-09-27 13:13:08 +02:00
config.rs Workaround unstable stmt_expr_attributes for method receiver expressions. 2022-10-23 09:27:12 +00:00
errors.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
expand.rs Workaround unstable stmt_expr_attributes for method receiver expressions. 2022-10-23 09:27:12 +00:00
lib.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
mbe.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
module.rs Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
placeholders.rs Workaround unstable stmt_expr_attributes for method receiver expressions. 2022-10-23 09:27:12 +00:00
proc_macro_server.rs Auto merge of #102692 - nnethercote:TokenStreamBuilder, r=Aaron1011 2022-10-12 03:46:16 +00:00
proc_macro.rs Fix ci checks 2022-08-31 18:25:00 +08:00
tests.rs avoid many &str to String conversions with MultiSpan::push_span_label 2022-06-29 21:16:43 +09:00