rust/tests/ui/layout
Jubilee 19a7f0fb7d
Rollup merge of #143296 - Kivooeo:tf21, r=tgross35
`tests/ui`: A New Order [21/N]

> [!NOTE]
>
> Intermediate commits are intended to help review, but will be squashed prior to merge.

Some `tests/ui/` housekeeping, to trim down number of tests directly under `tests/ui/`. Part of rust-lang/rust#133895.

r? `@tgross35`
2025-07-04 23:26:21 -07:00
..
aggregate-lang Remove #[cfg(test)] related stubs 2024-11-22 21:07:02 -05:00
base-layout-is-sized-ice-123078.rs Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
base-layout-is-sized-ice-123078.stderr Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
big-type-no-err.rs
cannot-transmute-unnormalizable-type.rs
cannot-transmute-unnormalizable-type.stderr
debug.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
debug.stderr Remove rustc's notion of "preferred" alignment AKA __alignof 2025-06-08 16:41:46 -07:00
enum-scalar-pair-int-ptr.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
enum-scalar-pair-int-ptr.stderr
enum.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
enum.stderr Remove rustc's notion of "preferred" alignment AKA __alignof 2025-06-08 16:41:46 -07:00
failed-to-get-layout-for-type-error-ice-92979.rs
failed-to-get-layout-for-type-error-ice-92979.stderr
gce-rigid-const-in-array-len.rs layout_of: put back not-so-unreachable case 2025-02-21 20:32:34 +01:00
gce-rigid-const-in-array-len.stderr layout_of: put back not-so-unreachable case 2025-02-21 20:32:34 +01:00
hexagon-enum.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
hexagon-enum.stderr Remove rustc's notion of "preferred" alignment AKA __alignof 2025-06-08 16:41:46 -07:00
homogeneous-aggr-transparent.rs
homogeneous-aggr-transparent.stderr
homogeneous-aggr-zero-sized-c-struct.rs
homogeneous-aggr-zero-sized-c-struct.stderr
homogeneous-aggr-zero-sized-repr-rust.rs
homogeneous-aggr-zero-sized-repr-rust.stderr
ice-non-last-unsized-field-issue-121473.rs
ice-non-last-unsized-field-issue-121473.stderr Unconditionally run check_item_type on all items 2025-06-30 08:06:08 +00:00
ice-type-error-in-tail-124031.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
ice-type-error-in-tail-124031.stderr
invalid-unsized-const-eval.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
invalid-unsized-const-eval.stderr const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
invalid-unsized-const-prop.rs
invalid-unsized-in-always-sized-tail.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
invalid-unsized-in-always-sized-tail.stderr intrinsics: rename min_align_of to align_of 2025-06-12 17:50:25 +02:00
issue-60431-unsized-tail-behind-projection.rs
issue-84108.rs
issue-84108.stderr Don't typeck during WF, instead check outside of WF in check_crate 2025-03-03 23:09:42 +00:00
issue-96158-scalarpair-payload-might-be-uninit.rs adjust UI tests 2025-01-10 02:22:57 +01:00
issue-96158-scalarpair-payload-might-be-uninit.stderr Remove rustc's notion of "preferred" alignment AKA __alignof 2025-06-08 16:41:46 -07:00
issue-96185-overaligned-enum.rs adjust UI tests 2025-01-10 02:22:57 +01:00
issue-96185-overaligned-enum.stderr Remove rustc's notion of "preferred" alignment AKA __alignof 2025-06-08 16:41:46 -07:00
issue-112048-unsizing-field-order.rs
issue-112048-unsizing-niche.rs
issue-113941.rs
issue-unsized-tail-restatic-ice-122488.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
issue-unsized-tail-restatic-ice-122488.stderr const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
layout-cycle.rs
layout-cycle.stderr
malformed-unsized-type-in-union.rs Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity 2025-02-13 03:45:04 +00:00
malformed-unsized-type-in-union.stderr Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity 2025-02-13 03:45:04 +00:00
normalization-failure.rs document and test all LayoutError variants 2025-02-18 13:22:45 +01:00
normalization-failure.stderr document and test all LayoutError variants 2025-02-18 13:22:45 +01:00
null-pointer-optimization-sizes.rs cleaned up some tests 2025-07-05 01:25:48 +05:00
null-pointer-optimization.rs cleaned up some tests 2025-07-05 01:25:48 +05:00
post-mono-layout-cycle-2.rs Refactor coroutine layout logic to precompute all sublayouts 2025-03-08 12:36:45 +01:00
post-mono-layout-cycle-2.stderr Refactor coroutine layout logic to precompute all sublayouts 2025-03-08 12:36:45 +01:00
post-mono-layout-cycle.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
post-mono-layout-cycle.stderr
randomize.rs test that coercions still work under randomization 2025-01-10 02:22:57 +01:00
reprc-power-alignment.rs [AIX] Ignore linting on repr(C) structs with repr(packed) or repr(align(n)) 2025-03-08 00:23:46 -05:00
reprc-power-alignment.stderr [AIX] Lint on structs that have a different alignment in AIX's C ABI 2025-01-22 12:06:16 -05:00
rust-call-abi-not-a-tuple-ice-81974.rs Remove manual WF hack 2025-05-07 16:29:59 +00:00
rust-call-abi-not-a-tuple-ice-81974.stderr Unconditionally run check_item_type on all items 2025-06-30 08:06:08 +00:00
size-of-val-raw-too-big.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
size-of-val-raw-too-big.stderr
struct.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
struct.stderr
thaw-transmute-invalid-enum.rs
thaw-transmute-invalid-enum.stderr
thaw-validate-invalid-enum.rs
thaw-validate-invalid-enum.stderr
thin-meta-implies-thin-ptr.rs
thumb-enum.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
thumb-enum.stderr Remove rustc's notion of "preferred" alignment AKA __alignof 2025-06-08 16:41:46 -07:00
too-big-with-padding.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
too-big-with-padding.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
transmute-to-tail-with-err.rs
transmute-to-tail-with-err.stderr
trivial-bounds-sized.rs
uncomputable-due-to-trivial-bounds-ice-135138.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
uncomputable-due-to-trivial-bounds-ice-135138.stderr const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
unconstrained-param-ice-137308.rs tests: update tests with unconstrained parameters 2025-06-16 23:04:35 +00:00
unconstrained-param-ice-137308.stderr tests: update tests with unconstrained parameters 2025-06-16 23:04:35 +00:00
unexpected-unsized-field-issue-135020.rs Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
unknown-when-no-type-parameter.rs const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
unknown-when-no-type-parameter.stderr const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
unknown-when-ptr-metadata-is-DST.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
unknown-when-ptr-metadata-is-DST.stderr const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
unsafe-cell-hides-niche.rs
unsatisfiable-sized-ungated.rs
valid_range_oob.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
valid_range_oob.stderr Properly note when query stack is being cut off 2025-01-16 19:12:22 +00:00
zero-sized-array-enum-niche.rs adjust UI tests 2025-01-10 02:22:57 +01:00
zero-sized-array-enum-niche.stderr Remove rustc's notion of "preferred" alignment AKA __alignof 2025-06-08 16:41:46 -07:00
zero-sized-array-union.rs
zero-sized-array-union.stderr