rust/tests
Guillaume Gomez f4a5cbd0d8
Rollup merge of #136112 - fmease:clean-up-all-dead-files-in-ui-tests, r=compiler-errors
Clean up all dead files inside `tests/ui/`

While rebasing #135860 I noticed that there are several dead `*.stderr` files inside `tests/ui/`.

When I checked thoroughly, I found 69 dead `*.$revision.stderr` files, 3 other dead `*.stderr` files and one dead `*.rs` file.

Prior to #134808, compiletest's `--bless` didn't remove dead `*.stderr` files when the set of revisions changed in any way (renamings, removals, additions, …) which explains their existence.

Regarding the dead `*.rs` file, that one was located inside an `auxiliary/` directory (together with a `*.stderr` file) despite not being meant to be an auxiliary file (it's not referenced by any `//@ aux-*`, it has an accompanying `*.stderr` file and it's obvious from looking at #111056 which added it). Ideally compiletest or tidy would forbid `*.std{out,err}` files inside `auxiliary/` dirs, that would've caught it. I moved it, updated it and turned it into a proper UI test.

---

How to reproduce:

1. Run `rm tests/ui/**/*.stderr`
2. Run `./x test tests/ui --bless` (or similar)
3. Manually / semi-automatically go through all tests that were ignored (likely due to your OS etc. not matching) and restore any stderr files that were overzealously removed

---

r? compiler
2025-01-27 15:38:29 +01:00
..
assembly Auto merge of #104693 - jhorstmann:use-high-bit-of-mask-for-select, r=workingjubilee 2025-01-26 22:45:21 +00:00
auxiliary tests/assembly/asm: Remove uses of rustc_attrs and lang_items features by using minicore 2024-12-18 02:59:07 +09:00
codegen Consistently use the most significant bit of vector masks 2025-01-26 16:44:23 +01:00
codegen-units remove support for the #[start] attribute 2025-01-21 06:59:15 -07:00
coverage coverage: Completely overhaul counter assignment, using node-flow graphs 2025-01-16 22:07:18 +11:00
coverage-run-rustdoc coverage: Restrict empty-span expansion to only cover { and } 2024-11-08 20:43:08 +11:00
crashes Rollup merge of #136072 - cyrgani:old-crash-tests, r=WaffleLapkin 2025-01-27 04:34:52 +01:00
debuginfo Revert "Remove the Arc rt::init allocation for thread info" 2025-01-14 13:37:25 +01:00
incremental add test for issue 135514 2025-01-15 08:26:23 +00:00
mir-opt Auto merge of #128657 - clubby789:optimize-none, r=fee1-dead,WaffleLapkin 2025-01-25 05:50:36 +00:00
pretty Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
run-make Shorten linker output even more when --verbose is not present 2025-01-25 16:04:52 -05:00
rustdoc Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
rustdoc-gui Add GUI regression test for indent of trait items on mobile 2025-01-24 15:36:52 +01:00
rustdoc-js Rollup merge of #134277 - notriddle:notriddle/inline-into, r=GuillaumeGomez 2024-12-16 20:00:20 +01:00
rustdoc-js-std Treat other items as functions for the purpose of type-based search 2025-01-16 11:52:00 -06:00
rustdoc-json rustdoc-json: Rename Path::name to path, and give it path (again). 2025-01-22 19:29:48 +00:00
rustdoc-ui Auto merge of #133154 - estebank:issue-133137, r=wesleywiser 2025-01-25 11:41:21 +00:00
ui Rollup merge of #136112 - fmease:clean-up-all-dead-files-in-ui-tests, r=compiler-errors 2025-01-27 15:38:29 +01:00
ui-fulldeps Remove RunCompiler 2025-01-23 09:38:58 +00:00
COMPILER_TESTS.md