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 Add some tests for the current #![cfg(FALSE)] crate behavior 2023-03-23 14:21:02 +04:00
cfg_attr.rs
cfg_false_no_std.rs Add some tests for the current #![cfg(FALSE)] crate behavior 2023-03-23 14:21:02 +04:00
cfg_inner_static.rs
cfg_stmt_expr.rs
cfg-attr-cfg.rs
cfg-attr-crate.rs
cfg-false-feature.rs Add some tests for the current #![cfg(FALSE)] crate behavior 2023-03-23 14:21:02 +04:00
cfg-false-feature.stderr Add some tests for the current #![cfg(FALSE)] crate behavior 2023-03-23 14:21:02 +04:00
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 tests: Add tests for LoongArch64 2023-04-30 00:06:26 +08:00
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