rust/tests/ui/cfg
Jieyou Xu 0ea12c3c5f
cfg_version: pull out dedicated syntax test from feature gate test
The feature gate test was dual-purposing causing feature gate errors to
distract from syntax exercises.
2025-05-26 19:58:33 +08:00
..
assume-incomplete-release Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
auxiliary Use `cfg(false)` in UI tests 2025-04-03 21:41:58 +00:00
cfg-version cfg_version: pull out dedicated syntax test from feature gate test 2025-05-26 19:58:33 +08:00
both-true-false.rs Add more tests for `cfg_boolean_literals` 2025-04-03 18:10:48 +00:00
both-true-false.stderr Add more tests for `cfg_boolean_literals` 2025-04-03 18:10:48 +00:00
cfg-attr-cfg.rs tests: remove `//@ pretty-expanded` usages 2024-11-26 02:50:48 +08:00
cfg-attr-crate.rs tests: remove `//@ pretty-expanded` usages 2024-11-26 02:50:48 +08:00
cfg-false-feature.rs Use `cfg(false)` in UI tests 2025-04-03 21:41:58 +00:00
cfg-false-feature.stderr Add barest-bones deref patterns 2024-03-20 22:30:27 +01:00
cfg-family.rs tests: remove `//@ pretty-expanded` usages 2024-11-26 02:50:48 +08:00
cfg-in-crate-1.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
cfg-macros-foo.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
cfg-macros-notfoo.rs Use `cfg(false)` in UI tests 2025-04-03 21:41:58 +00:00
cfg-match-arm.rs Use `cfg(false)` in UI tests 2025-04-03 21:41:58 +00:00
cfg-method-receiver-ok.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
cfg-method-receiver.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-method-receiver.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
cfg-panic-abort.rs Remove useless configs in tests 2024-04-07 01:16:45 +02:00
cfg-panic.rs Remove useless configs in tests 2024-04-07 01:16:45 +02:00
cfg-path-error.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
cfg-path-error.stderr compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
cfg-stmt-recovery.rs Use `cfg(false)` in UI tests 2025-04-03 21:41:58 +00:00
cfg-stmt-recovery.stderr Use `cfg(false)` in UI tests 2025-04-03 21:41:58 +00:00
cfg-target-abi.rs Stabilize `cfg_target_abi` 2024-02-24 17:52:03 -03:00
cfg-target-compact-errors.rs Handle gracefully true/false in `cfg(target(..))` compact 2024-10-16 09:41:49 +02:00
cfg-target-compact-errors.stderr Handle gracefully true/false in `cfg(target(..))` compact 2024-10-16 09:41:49 +02:00
cfg-target-compact.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
cfg-target-family.rs tests: remove `//@ pretty-expanded` usages 2024-11-26 02:50:48 +08:00
cfg-target-vendor.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
cfg_attr.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
cfg_false_no_std-1.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
cfg_false_no_std-2.rs tests: fix a panic strategy in `cfg_false_no_std-2.rs` 2025-05-03 22:44:36 +08:00
cfg_false_no_std.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
cfg_inner_static.rs tests: remove `//@ pretty-expanded` usages 2024-11-26 02:50:48 +08:00
cfg_stmt_expr.rs Use `cfg(false)` in UI tests 2025-04-03 21:41:58 +00:00
cfgs-on-items.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
cmdline-false.rs Add more tests for `cfg_boolean_literals` 2025-04-03 18:10:48 +00:00
cmdline-false.stderr Add more tests for `cfg_boolean_literals` 2025-04-03 18:10:48 +00:00
conditional-compile-arch.rs tests: remove `//@ pretty-expanded` usages 2024-11-26 02:50:48 +08:00
conditional-compile.rs Use `cfg(false)` in UI tests 2025-04-03 21:41:58 +00:00
crate-attributes-using-cfg_attr.rs Make deprecated_cfg_attr_crate_type_name a hard error 2024-10-05 04:29:46 +02:00
crate-attributes-using-cfg_attr.stderr Make deprecated_cfg_attr_crate_type_name a hard error 2024-10-05 04:29:46 +02:00
crt-static-off-works.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
crt-static-on-works.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
diagnostics-cross-crate.rs When finding item gated behind a `cfg` flat, point at it 2024-07-12 18:52:52 +00:00
diagnostics-cross-crate.stderr Use `cfg(false)` in UI tests 2025-04-03 21:41:58 +00:00
diagnostics-not-a-def.rs RFC 2383: Stabilize `lint_reasons` 🎉 2024-06-25 17:22:22 +02:00
diagnostics-not-a-def.stderr RFC 2383: Stabilize `lint_reasons` 🎉 2024-06-25 17:22:22 +02:00
diagnostics-reexport.rs Use `cfg(false)` in UI tests 2025-04-03 21:41:58 +00:00
diagnostics-reexport.stderr Use `cfg(false)` in UI tests 2025-04-03 21:41:58 +00:00
diagnostics-same-crate.rs Use `cfg(false)` in UI tests 2025-04-03 21:41:58 +00:00
diagnostics-same-crate.stderr Use `cfg(false)` in UI tests 2025-04-03 21:41:58 +00:00
disallowed-cli-cfgs-allow.rs Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.debug_assertions_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.emscripten_wasm_eh_.stderr Add support for wasm exception handling to Emscripten target 2025-01-06 10:29:54 +01:00
disallowed-cli-cfgs.fmt_debug_.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
disallowed-cli-cfgs.overflow_checks_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.panic_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.proc_macro_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.reliable_f16_.stderr Implement the internal feature `cfg_target_has_reliable_f16_f128` 2025-04-27 19:58:44 +00:00
disallowed-cli-cfgs.reliable_f16_math_.stderr Implement the internal feature `cfg_target_has_reliable_f16_f128` 2025-04-27 19:58:44 +00:00
disallowed-cli-cfgs.reliable_f128_.stderr Implement the internal feature `cfg_target_has_reliable_f16_f128` 2025-04-27 19:58:44 +00:00
disallowed-cli-cfgs.reliable_f128_math_.stderr Implement the internal feature `cfg_target_has_reliable_f16_f128` 2025-04-27 19:58:44 +00:00
disallowed-cli-cfgs.relocation_model_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.rs Implement the internal feature `cfg_target_has_reliable_f16_f128` 2025-04-27 19:58:44 +00:00
disallowed-cli-cfgs.sanitize_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.sanitizer_cfi_generalize_pointers_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.sanitizer_cfi_normalize_integers_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_abi_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_arch_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_endian_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_env_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_family_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_feature_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_has_atomic_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_has_atomic_equal_alignment_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_has_atomic_load_store_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_os_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_pointer_width_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_thread_local_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.target_vendor_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.ub_checks_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.unix_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
disallowed-cli-cfgs.windows_.stderr Disallow setting built-in cfgs via set the command-line 2024-08-07 14:08:34 +02:00
expanded-cfg.rs compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
raw-true-false.rs Allow boolean literals in `check-cfg` 2025-04-03 09:54:23 +00:00
true-false.rs Stabilize `cfg_boolean_literals` 2025-04-03 18:10:48 +00:00