rust/tests/ui/structs
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 Move default-field-values tests into a subdirectory 2024-12-14 18:05:19 +00:00
default-field-values Add test for default_field_values and const_default 2025-07-17 19:26:45 +00:00
basic-newtype-pattern.rs cleaned up some tests 2025-06-30 11:50:19 +05:00
default-field-values-non_exhaustive.rs Restrict #[non_exaustive] on structs with default field values 2024-12-20 17:18:54 +00:00
default-field-values-non_exhaustive.stderr Restrict #[non_exaustive] on structs with default field values 2024-12-20 17:18:54 +00:00
field-implied-unsizing-wfcheck.rs Test more cases of WF-checking for fields 2024-08-05 17:56:50 -07:00
field-implied-unsizing-wfcheck.stderr Test more cases of WF-checking for fields 2024-08-05 17:56:50 -07:00
ice-struct-tail-normalization-113272.rs Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
ice-struct-tail-normalization-113272.stderr fix ICE with references to infinite structs in consts 2025-01-14 01:22:04 +01:00
ident-from-macro-expansion.rs Also note struct access, and fix macro expansion from foreign crates 2025-03-04 00:04:01 +00:00
ident-from-macro-expansion.stderr Also note struct access, and fix macro expansion from foreign crates 2025-03-04 00:04:01 +00:00
incomplete-fn-in-struct-definition.rs
incomplete-fn-in-struct-definition.stderr
issue-80853.rs
issue-80853.stderr
large-records.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
manual-default-impl-could-be-derived.rs Implement default_overrides_default_fields lint 2024-12-25 23:25:45 +00:00
manual-default-impl-could-be-derived.stderr Provide structured suggestion for impl Default of type where all fields have defaults 2024-12-31 18:06:01 +00:00
method-chain-expression-failure.rs
method-chain-expression-failure.stderr
multi-line-fru-suggestion.rs
multi-line-fru-suggestion.stderr
mutable-unit-struct-borrow-11267.rs comments 2025-07-25 20:38:54 +05:00
rhs-type.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
struct-base-wrong-type.rs
struct-base-wrong-type.stderr
struct-construct-with-call-issue-138931.rs Add ui test for struct construction by calling syntax 2025-03-27 18:50:39 +08:00
struct-construct-with-call-issue-138931.stderr Improve suggest construct with literal syntax instead of calling 2025-03-27 20:09:37 +08:00
struct-duplicate-comma.fixed
struct-duplicate-comma.rs
struct-duplicate-comma.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
struct-field-cfg.rs
struct-field-cfg.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
struct-field-init-syntax.rs
struct-field-init-syntax.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
struct-field-privacy.rs
struct-field-privacy.stderr
struct-fields-decl-dupe.rs
struct-fields-decl-dupe.stderr
struct-fields-dupe.rs
struct-fields-dupe.stderr
struct-fields-hints-no-dupe.rs
struct-fields-hints-no-dupe.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
struct-fields-hints.rs
struct-fields-hints.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
struct-fields-missing.rs
struct-fields-missing.stderr
struct-fields-shorthand-unresolved.rs
struct-fields-shorthand-unresolved.stderr
struct-fields-shorthand.rs
struct-fields-shorthand.stderr
struct-fields-too-many.rs
struct-fields-too-many.stderr
struct-fields-typo.rs
struct-fields-typo.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
struct-fn-in-definition.rs
struct-fn-in-definition.stderr
struct-missing-comma.fixed UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
struct-missing-comma.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
struct-missing-comma.stderr
struct-pat-derived-error.rs
struct-pat-derived-error.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
struct-path-alias-bounds.rs
struct-path-alias-bounds.stderr
struct-path-associated-type.rs
struct-path-associated-type.stderr Preserve generic args in suggestions for ambiguous associated items 2025-05-06 17:04:03 +02:00
struct-path-self-type-mismatch.rs
struct-path-self-type-mismatch.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
struct-path-self.rs
struct-path-self.stderr
struct-record-suggestion.fixed
struct-record-suggestion.rs
struct-record-suggestion.stderr
struct-tuple-field-names.rs
struct-tuple-field-names.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
struct-variant-privacy-xc.rs
struct-variant-privacy-xc.stderr
struct-variant-privacy.rs
struct-variant-privacy.stderr
structure-constructor-type-mismatch.rs compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
structure-constructor-type-mismatch.stderr compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
suggest-private-fields.rs
suggest-private-fields.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
suggest-replacing-field-when-specifying-same-type.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
suggest-replacing-field-when-specifying-same-type.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
trie-node-structure-usage-3389.rs Rehome tests/ui/issues/ tests [1/?] 2025-07-24 17:01:44 -04:00
unresolved-struct-with-fru.rs
unresolved-struct-with-fru.stderr