rust/tests/ui/check-cfg
Urgau 4c1671674e Avoid target_os and target_arch in some check-cfg tests
as they unnecessarily clutter the diagnostic output and make the
experience of adding a new target to the compiler more painful than
it should be.

target_os and target_arch are still being tested in the
well-known-values.rs test, but in one place.
2023-12-09 11:59:46 +01:00
..
allow-at-crate-level.rs MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
allow-macro-cfg.rs MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
allow-same-level.rs MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
allow-same-level.stderr Remove feature from the list of well known check-cfg name 2023-11-21 19:06:58 +01:00
allow-top-level.rs MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
allow-upper-level.rs MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
cargo-feature.rs Improve diagnostic for unexpected feature config name from Cargo 2023-11-21 19:06:58 +01:00
cargo-feature.stderr Improve diagnostic for unexpected feature config name from Cargo 2023-11-21 19:06:58 +01:00
compact-names.rs MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
compact-names.stderr Remove feature from the list of well known check-cfg name 2023-11-21 19:06:58 +01:00
compact-values.rs Avoid target_os and target_arch in some check-cfg tests 2023-12-09 11:59:46 +01:00
compact-values.stderr Avoid target_os and target_arch in some check-cfg tests 2023-12-09 11:59:46 +01:00
concat-values.rs MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
concat-values.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
diagnotics.rs MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
diagnotics.stderr check-cfg: mention the unexpected name and value in the primary message 2023-10-12 18:39:04 +02:00
exhaustive-names-values.empty_cfg.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
exhaustive-names-values.empty_names_values.stderr Remove feature from the list of well known check-cfg name 2023-11-21 19:06:58 +01:00
exhaustive-names-values.feature.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
exhaustive-names-values.full.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
exhaustive-names-values.rs Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
exhaustive-names.exhaustive_names.stderr Remove feature from the list of well known check-cfg name 2023-11-21 19:06:58 +01:00
exhaustive-names.rs Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
exhaustive-names.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
exhaustive-values.empty_cfg.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
exhaustive-values.rs Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
exhaustive-values.without_names.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
invalid-arguments.any_values.stderr Better guard against wrong input with check-cfg any() 2023-10-27 12:02:54 +02:00
invalid-arguments.anything_else.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.giberich.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.ident_in_values_1.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.ident_in_values_2.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.mixed_any.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.mixed_values_any.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.multiple_any.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.multiple_values_any.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.multiple_values.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.not_empty_any.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.not_empty_values_any.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.rs Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
invalid-arguments.string_for_name_1.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.string_for_name_2.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.unknown_meta_item_1.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.unknown_meta_item_2.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.unknown_meta_item_3.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.unterminated.stderr Better guard against wrong input with check-cfg any() 2023-10-27 12:02:54 +02:00
invalid-arguments.values_any_before_ident.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
invalid-arguments.values_any_missing_values.stderr MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
mix.cfg.stderr Update --check-cfg tests that had old --cfg warning 2023-11-18 12:21:58 +01:00
mix.rs Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
mix.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
my-awesome-platform.json Honor current target when checking conditional compilation values 2023-03-09 21:55:00 +01:00
no-expected-values.empty.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
no-expected-values.mixed.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
no-expected-values.rs Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
no-expected-values.simple.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
order-independant.rs Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
order-independant.values_after.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
order-independant.values_before.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
stmt-no-ice.rs MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
stmt-no-ice.stderr Remove feature from the list of well known check-cfg name 2023-11-21 19:06:58 +01:00
unexpected-cfg-name.rs Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
unexpected-cfg-name.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
unexpected-cfg-value.cfg.stderr Update --check-cfg tests that had old --cfg warning 2023-11-18 12:21:58 +01:00
unexpected-cfg-value.rs Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
unexpected-cfg-value.stderr Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
unknown-values.rs MCP636: Adapt check-cfg tests to the new syntax 2023-10-13 13:51:03 +02:00
values-target-json.rs Avoid target_os and target_arch in some check-cfg tests 2023-12-09 11:59:46 +01:00
well-known-names.rs Remove feature from the list of well known check-cfg name 2023-11-21 19:06:58 +01:00
well-known-names.stderr Remove feature from the list of well known check-cfg name 2023-11-21 19:06:58 +01:00
well-known-values.rs Strengthen well known check-cfg names and values test 2023-12-09 11:59:46 +01:00
well-known-values.stderr Strengthen well known check-cfg names and values test 2023-12-09 11:59:46 +01:00