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 Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
auxiliary Add some tests for the current #![cfg(FALSE)] crate behavior 2023-03-23 14:21:02 +04:00
cfg_attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_stmt_expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-in-crate-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-macros-foo.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-macros-notfoo.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-match-arm.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-method-receiver-ok.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-method-receiver.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-method-receiver.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-panic-abort.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-panic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-path-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-path-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-target-compact-errors.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-target-compact-errors.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-target-compact.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-target-family.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-target-vendor.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfgs-on-items.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
conditional-compile-arch.rs tests: Add tests for LoongArch64 2023-04-30 00:06:26 +08:00
conditional-compile.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crt-static-off-works.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crt-static-on-works.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expanded-cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
future-compat-crate-attributes-using-cfg_attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
future-compat-crate-attributes-using-cfg_attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00