rust/tests/ui/cfg
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
..
assume-incomplete-release
auxiliary
cfg_attr.rs
cfg_false_no_std.rs
cfg_inner_static.rs
cfg_stmt_expr.rs
cfg-attr-cfg.rs
cfg-attr-crate.rs
cfg-false-feature.rs
cfg-false-feature.stderr
cfg-family.rs
cfg-in-crate-1.rs
cfg-macros-foo.rs
cfg-macros-notfoo.rs
cfg-match-arm.rs
cfg-method-receiver-ok.rs
cfg-method-receiver.rs
cfg-method-receiver.stderr
cfg-panic-abort.rs
cfg-panic.rs
cfg-path-error.rs
cfg-path-error.stderr
cfg-stmt-recovery.rs Do not recover when parsing stmt in cfg-eval. 2023-05-01 08:51:47 +00:00
cfg-stmt-recovery.stderr Do not recover when parsing stmt in cfg-eval. 2023-05-01 08:51:47 +00:00
cfg-target-abi.rs
cfg-target-compact-errors.rs
cfg-target-compact-errors.stderr
cfg-target-compact.rs
cfg-target-family.rs
cfg-target-vendor.rs
cfgs-on-items.rs
conditional-compile-arch.rs
conditional-compile.rs
crt-static-off-works.rs
crt-static-on-works.rs
expanded-cfg.rs
future-compat-crate-attributes-using-cfg_attr.rs
future-compat-crate-attributes-using-cfg_attr.stderr