rust/compiler/rustc_parse/src
Dylan DPC ee26abdafb
Rollup merge of #111054 - cjgillot:cfg-eval-recover, r=b-naber
Do not recover when parsing stmt in cfg-eval.

`parse_stmt` does recovery on its own. When parsing the statement fails, we always get `Ok(None)` instead of an `Err` variant with the diagnostic that we can emit.

To avoid this behaviour, we need to opt-out of recovery for cfg_eval.

Fixes https://github.com/rust-lang/rust/issues/105228
2023-05-18 17:37:08 +05:30
..
lexer Avoid &format("...") calls in error message code. 2023-05-16 17:59:56 +10:00
parser Rollup merge of #111054 - cjgillot:cfg-eval-recover, r=b-naber 2023-05-18 17:37:08 +05:30
errors.rs improve error for impl<..> impl Trait for Type 2023-05-13 10:51:21 +02:00
lib.rs Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
validate_attr.rs Avoid &format("...") calls in error message code. 2023-05-16 17:59:56 +10:00