rust/tests/ui/extern
Matthias Krüger a08ced3856
Rollup merge of #144151 - Kivooeo:issue1, r=jieyouxu
`tests/ui/issues/`: The Issues Strike Back [1/N]

I believe I’ve finally brought [my program](https://github.com/Kivooeo/test-manager) to life -- it now handles multiple test moves in one go: plain moves first, then a gentle touch on each file depends on given options. The process should be much smoother now.

Of course, I won’t rush through everything in a few days -- that would be unkind to `@Oneirical.` I’ll pace myself. And also I can't have more than one such PR because `issues.txt` will conflict with previous parts after merging them which is not fun as well.

This PR is just that: first commit - moves; second - regression comments and the occasional .stderr reblesses, also issue.txt and tidy changes. Nothing special, but progress nonetheless. This is for the purpose of preserving test file history during restructuring

Part of https://github.com/rust-lang/rust/issues/133895.

r? `@jieyouxu`
2025-07-28 08:36:51 +02:00
..
auxiliary [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-1.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
extern-C-non-FFI-safe-arg-ice-52334.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
extern-C-non-FFI-safe-arg-ice-52334.stderr Revert #131669 due to ICEs 2024-12-09 17:31:16 +08:00
extern-C-str-arg-ice-80125.rs add issue numbers via // issue: rust-lang/rust#ISSUE_NUM directive 2024-03-24 09:34:11 +01:00
extern-C-str-arg-ice-80125.stderr Revert #131669 due to ICEs 2024-12-09 17:31:16 +08:00
extern-calling-convention-test.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
extern-compare-with-return-type.rs Allow fn pointers comparisons lint in UI tests 2024-12-02 18:43:37 +01:00
extern-const.fixed Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
extern-const.rs Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
extern-const.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
extern-crate-multiple-missing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-crate-multiple-missing.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-crate-rename.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-crate-rename.stderr More sophisticated span trimming 2025-02-21 00:41:17 +00:00
extern-crate-visibility.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-crate-visibility.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
extern-empty-string-issue-140884.rs Avoid creating an empty identifer in Symbol::to_ident_string. 2025-05-21 18:59:04 +10:00
extern-empty-string-issue-140884.stderr Avoid creating an empty identifer in Symbol::to_ident_string. 2025-05-21 18:59:04 +10:00
extern-ffi-fn-with-body.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-ffi-fn-with-body.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
extern-foreign-crate.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
extern-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-macro.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
extern-main-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-main-fn.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
extern-main-issue-86110.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
extern-main-issue-86110.stderr Use FnSig instead of raw FnDecl for ForeignItemKind::Fn 2024-08-16 14:10:06 -04:00
extern-methods.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-mod-abi.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
extern-mod-ordering-exe.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
extern-no-mangle.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-no-mangle.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-prelude-core.rs remove support for the #[start] attribute 2025-01-21 06:59:15 -07:00
extern-prelude-no-speculative.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-prelude-std.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-pub.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
extern-rust-fn-type-error-10764.rs comments 2025-07-25 20:38:54 +05:00
extern-rust-fn-type-error-10764.stderr comments 2025-07-25 20:38:54 +05:00
extern-rust.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
extern-static-size-overflow.rs Keep object-size-dependent tests failing 2024-09-19 16:23:38 -07:00
extern-static-size-overflow.stderr TL note: current means target 2024-09-20 10:02:14 -07:00
extern-take-value.rs Allow fn pointers comparisons lint in UI tests 2024-12-02 18:43:37 +01:00
extern-thiscall.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-type-diag-not-similar.rs tests: PointeeSized bounds with extern types 2025-06-16 23:04:35 +00:00
extern-type-diag-not-similar.stderr tests: PointeeSized bounds with extern types 2025-06-16 23:04:35 +00:00
extern-types-distinct-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-types-distinct-types.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
extern-types-field-offset.rs tests: Require run-fail ui tests to have an exit code (SIGABRT not ok) 2025-07-19 18:44:07 +02:00
extern-types-field-offset.run.stderr Try to write the panic message with a single write_all call 2025-01-01 15:58:29 +01:00
extern-types-inherent-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-types-manual-sync-send.rs tests: PointeeSized bounds with extern types 2025-06-16 23:04:35 +00:00
extern-types-not-sync-send.rs tests: PointeeSized bounds with extern types 2025-06-16 23:04:35 +00:00
extern-types-not-sync-send.stderr tests: PointeeSized bounds with extern types 2025-06-16 23:04:35 +00:00
extern-types-pointer-cast.rs tests: PointeeSized bounds with extern types 2025-06-16 23:04:35 +00:00
extern-types-size_of_val.align.run.stderr Try to write the panic message with a single write_all call 2025-01-01 15:58:29 +01:00
extern-types-size_of_val.rs trait_sel: MetaSized always holds temporarily 2025-07-16 12:35:44 +00:00
extern-types-size_of_val.size.run.stderr Try to write the panic message with a single write_all call 2025-01-01 15:58:29 +01:00
extern-types-thin-pointer.rs tests: PointeeSized bounds with extern types 2025-06-16 23:04:35 +00:00
extern-types-trait-impl.rs tests: PointeeSized bounds with extern types 2025-06-16 23:04:35 +00:00
extern-types-unsized.rs trait_sel: MetaSized always holds temporarily 2025-07-16 12:35:44 +00:00
extern-types-unsized.stderr trait_sel: MetaSized always holds temporarily 2025-07-16 12:35:44 +00:00
extern-vectorcall.rs vectorcall ABI: error if sse2 is not available 2025-02-20 12:40:58 +01:00
extern-wrong-value-type.rs Pretty print Fn traits in rustc_on_unimplemented 2023-11-02 20:57:05 +00:00
extern-wrong-value-type.stderr Use parenthetical notation for Fn traits 2024-05-29 22:26:54 +00:00
extern_fat_drop.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fictional-abi.rs compiler: gate extern "{abi}" in ast_lowering 2025-02-09 20:36:59 -08:00
fictional-abi.stderr compiler: gate extern "{abi}" in ast_lowering 2025-02-09 20:36:59 -08:00
foreign-fn-pattern-error-10877.rs comments 2025-07-25 20:38:54 +05:00
foreign-fn-pattern-error-10877.stderr comments 2025-07-25 20:38:54 +05:00
issue-1251.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-10025.rs Update tests. 2025-01-07 16:04:14 +01:00
issue-10763.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-10764-rpass.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-13655.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-16250.rs Move some tests 2024-02-09 15:43:08 -03:00
issue-16250.stderr Move some tests 2024-02-09 15:43:08 -03:00
issue-18576.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
issue-18819.rs Move tests 2024-02-13 18:08:25 -03:00
issue-18819.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-28324.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
issue-28324.stderr const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
issue-36122-accessing-externed-dst.rs Check statics' type in type_of. 2025-07-25 23:39:26 +00:00
issue-36122-accessing-externed-dst.stderr Check statics' type in type_of. 2025-07-25 23:39:26 +00:00
issue-47725.rs Fix duplicate help on export_name and others 2025-07-01 16:10:07 +02:00
issue-47725.stderr Fix duplicate help on export_name and others 2025-07-01 16:10:07 +02:00
issue-64655-allow-unwind-when-calling-panic-directly.rs tests: use needs-threads instead of ignore-emscripten 2025-01-23 20:51:29 +08:00
issue-64655-extern-rust-must-allow-unwind.rs tests: use needs-threads instead of ignore-emscripten 2025-01-23 20:51:29 +08:00
issue-80074.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-80074.stderr exclude unexported macro bindings from extern crate 2024-01-21 20:24:40 +08:00
issue-95829.rs Update tests. 2025-01-07 16:04:14 +01:00
issue-95829.stderr Update tests. 2025-01-07 16:04:14 +01:00
issue-112363-extern-item-where-clauses-debug-ice.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-112363-extern-item-where-clauses-debug-ice.stderr Bless tests 2024-01-13 12:46:58 -05:00
issue-116203.rs discard invalid spans in external blocks 2023-11-15 15:28:38 +08:00
issue-116203.stderr Tweak multispan rendering 2024-12-12 23:36:27 +00:00
no-mangle-associated-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no-mangle-associated-fn.stderr Update tests 2024-02-07 10:42:01 +08:00
not-in-block.rs Update tests. 2025-01-07 16:04:14 +01:00
not-in-block.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
unsized-extern-derefmove.rs trait_sel: MetaSized always holds temporarily 2025-07-16 12:35:44 +00:00
unsized-extern-derefmove.stderr trait_sel: MetaSized always holds temporarily 2025-07-16 12:35:44 +00:00