rust/tests/ui/infinite
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
..
auxiliary only query params_in_repr if def kind is adt 2024-10-02 17:36:31 +08:00
infinite-alias.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
infinite-alias.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
infinite-assoc.rs only query params_in_repr if def kind is adt 2024-10-02 17:36:31 +08:00
infinite-assoc.stderr only query params_in_repr if def kind is adt 2024-10-02 17:36:31 +08:00
infinite-autoderef.rs change error messages to be incorrect, but more helpful 2024-02-22 18:18:33 +01:00
infinite-autoderef.stderr change error messages to be incorrect, but more helpful 2024-02-22 18:18:33 +01:00
infinite-instantiation-struct-tail-ice-114484.rs Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
infinite-instantiation-struct-tail-ice-114484.stderr fix ICE with references to infinite structs in consts 2025-01-14 01:22:04 +01:00
infinite-instantiation.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
infinite-instantiation.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
infinite-macro-expansion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
infinite-macro-expansion.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
infinite-recursion-const-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
infinite-recursion-const-fn.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
infinite-struct.rs Automatically taint InferCtxt when errors are emitted 2024-06-26 16:01:45 +00:00
infinite-struct.stderr Automatically taint InferCtxt when errors are emitted 2024-06-26 16:01:45 +00:00
infinite-tag-type-recursion.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
infinite-tag-type-recursion.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
infinite-trait-alias-recursion.rs Use trait definition cycle detection for trait alias definitions, too 2025-01-09 08:49:39 +00:00
infinite-trait-alias-recursion.stderr Use trait definition cycle detection for trait alias definitions, too 2025-01-09 08:49:39 +00:00
infinite-type-alias-mutual-recursion.feature.stderr overflow errors: change source to a concrete enum 2024-02-22 17:43:57 +01:00
infinite-type-alias-mutual-recursion.gated.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
infinite-type-alias-mutual-recursion.rs overflow errors: change source to a concrete enum 2024-02-22 17:43:57 +01:00
infinite-vec-type-recursion.feature.stderr overflow errors: change source to a concrete enum 2024-02-22 17:43:57 +01:00
infinite-vec-type-recursion.gated.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
infinite-vec-type-recursion.rs overflow errors: change source to a concrete enum 2024-02-22 17:43:57 +01:00
issue-41731-infinite-macro-print.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-41731-infinite-macro-print.stderr Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
issue-41731-infinite-macro-println.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-41731-infinite-macro-println.stderr Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00