rust/tests/ui/editions
Jacob Pratt 5bd4e832d3
Rollup merge of #144553 - Oneirical:uncountable-integer-4, r=jieyouxu
Rehome 32 `tests/ui/issues/` tests to other subdirectories under `tests/ui/`

rust-lang/rust#143902 divided into smaller, easier to review chunks.

Part of rust-lang/rust#133895

Methodology:

1. Refer to the previously written `tests/ui/SUMMARY.md`
2. Find an appropriate category for the test, using the original issue thread and the test contents.
3. Add the issue URL at the bottom (not at the top, as that would mess up stderr line numbers)
4. Rename the tests to make their purpose clearer

Inspired by the methodology that `@Kivooeo` was using.

r? `@jieyouxu`
2025-08-10 15:43:52 -04:00
..
auxiliary Add tests for nested macro_rules edition behavior 2025-02-03 13:12:41 -08:00
async-block-2015.rs Add missing 2015 edition directives 2025-06-02 11:00:46 +02:00
async-block-2015.stderr Add missing 2015 edition directives 2025-06-02 11:00:46 +02:00
dyn-trait-sugg-2021.rs Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
dyn-trait-sugg-2021.stderr Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
edition-cstr-2015-2018.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
edition-cstr-2015-2018.stderr Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
edition-extern-crate-allowed.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-extern-crate-allowed.stderr Use cfg_attr AST placeholder AST cfg_attr_trace for diagnostics 2025-05-29 10:24:23 +00:00
edition-imports-2015.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-imports-2015.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
edition-imports-2018.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-imports-2018.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
edition-imports-virtual-2015-ambiguity.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-imports-virtual-2015-gated.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-imports-virtual-2015-gated.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
edition-keywords-2015-2015-expansion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-keywords-2015-2015-parsing.rs Tweak more warnings. 2024-10-28 14:20:28 +11:00
edition-keywords-2015-2015-parsing.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
edition-keywords-2015-2015.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-keywords-2015-2018-expansion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-keywords-2015-2018-expansion.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
edition-keywords-2015-2018-parsing.rs Tweak more warnings. 2024-10-28 14:20:28 +11:00
edition-keywords-2015-2018-parsing.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
edition-keywords-2015-2018.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-keywords-2018-2015-expansion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-keywords-2018-2015-parsing.rs Update ui tests with new macro early erroring 2025-07-25 23:46:28 +02:00
edition-keywords-2018-2015-parsing.stderr Update ui tests with new macro early erroring 2025-07-25 23:46:28 +02:00
edition-keywords-2018-2015.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-keywords-2018-2018-expansion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-keywords-2018-2018-expansion.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
edition-keywords-2018-2018-parsing.rs Update ui tests with new macro early erroring 2025-07-25 23:46:28 +02:00
edition-keywords-2018-2018-parsing.stderr Update ui tests with new macro early erroring 2025-07-25 23:46:28 +02:00
edition-keywords-2018-2018.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-raw-pointer-method-2015.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
edition-raw-pointer-method-2015.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
edition-raw-pointer-method-2018.rs Use the more informative generic type inference failure error on method calls on raw pointers 2024-03-20 15:53:06 +00:00
edition-raw-pointer-method-2018.stderr Use the more informative generic type inference failure error on method calls on raw pointers 2024-03-20 15:53:06 +00:00
edition-specific-identifier-shadowing-53333.rs Rehome tests/ui/issues/ tests [4/?] 2025-08-10 11:54:15 -04:00
nested-macro-rules-edition.e2021.stderr Add tests for nested macro_rules edition behavior 2025-02-03 13:12:41 -08:00
nested-macro-rules-edition.rs Add tests for nested macro_rules edition behavior 2025-02-03 13:12:41 -08:00
never-type-fallback-breaking.e2021.fixed UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
never-type-fallback-breaking.e2021.stderr future-incompat lints: don't link to the nightly edition-guide version 2025-07-16 01:44:02 -07:00
never-type-fallback-breaking.e2024.stderr Use tcx.short_string() in more diagnostics 2025-08-07 21:18:00 +00:00
never-type-fallback-breaking.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
never-type-fallback.e2021.run.stdout Add a test for never type fallback edition change 2024-05-17 15:01:43 +02:00
never-type-fallback.e2024.run.stdout Add a test for never type fallback edition change 2024-05-17 15:01:43 +02:00
never-type-fallback.rs Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
unsafe-attr-edition-span.e2024.stderr use correct edition when warning for unsafe attributes 2025-06-09 21:55:22 +02:00
unsafe-attr-edition-span.rs use correct edition when warning for unsafe attributes 2025-06-09 21:55:22 +02:00