rust/tests/ui/layout
FedericoBruzzone cef97bce7b Add TooGeneric variant to LayoutError and emit Unknown one
- `check-pass` test for a MRE of #135020
- fail test for #135138
- switch to `TooGeneric` for checking CMSE fn signatures
- switch to `TooGeneric` for compute `SizeSkeleton` (for transmute)
- fix broken tests
2025-01-27 00:37:34 +01: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 adjust UI tests 2025-01-10 02:22:57 +01:00
debug.stderr Consider more erroneous layouts as LayoutError::ReferencesError to suppress spurious errors 2025-01-14 19:07:37 +00: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 tests: Bless rustc_abi::Abi::Aggregate => ::Memory 2024-10-30 01:41:31 -07:00
enum.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
enum.stderr
failed-to-get-layout-for-type-error-ice-92979.rs
failed-to-get-layout-for-type-error-ice-92979.stderr
hexagon-enum.rs adjust UI tests 2025-01-10 02:22:57 +01:00
hexagon-enum.stderr adjust UI tests 2025-01-10 02:22:57 +01: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
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 Stop being so bail-y in candidate assembly 2024-11-21 01:35:34 +00:00
invalid-unsized-const-eval.rs Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
invalid-unsized-const-eval.stderr Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
invalid-unsized-const-prop.rs get rid of an old hack 2024-09-17 00:09:21 +02:00
invalid-unsized-in-always-sized-tail.rs get rid of an old hack 2024-09-17 00:09:21 +02:00
invalid-unsized-in-always-sized-tail.stderr Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
issue-60431-unsized-tail-behind-projection.rs
issue-84108.rs
issue-84108.stderr
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 adjust UI tests 2025-01-10 02:22:57 +01:00
issue-96185-overaligned-enum.rs adjust UI tests 2025-01-10 02:22:57 +01:00
issue-96185-overaligned-enum.stderr adjust UI tests 2025-01-10 02:22:57 +01:00
issue-112048-unsizing-field-order.rs
issue-112048-unsizing-niche.rs
issue-113941.rs
issue-unsized-tail-restatic-ice-122488.rs Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
issue-unsized-tail-restatic-ice-122488.stderr Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
layout-cycle.rs
layout-cycle.stderr
malformed-unsized-type-in-union.rs
malformed-unsized-type-in-union.stderr
post-mono-layout-cycle-2.rs Stabilize async closures 2024-12-13 00:04:56 +00:00
post-mono-layout-cycle-2.stderr Stabilize async closures 2024-12-13 00:04:56 +00:00
post-mono-layout-cycle.rs Emit warning when calling/declaring functions with unavailable vectors. 2024-11-01 22:24:35 +01:00
post-mono-layout-cycle.stderr Emit warning when calling/declaring functions with unavailable vectors. 2024-11-01 22:24:35 +01:00
randomize.rs test that coercions still work under randomization 2025-01-10 02:22:57 +01:00
reprc-power-alignment.rs [AIX] Lint on structs that have a different alignment in AIX's C ABI 2025-01-22 12:06:16 -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
rust-call-abi-not-a-tuple-ice-81974.stderr Mention type parameter in more cases and don't suggest ~const bound already there 2024-12-07 21:37:13 +00:00
size-of-val-raw-too-big.rs TL note: current means target 2024-09-20 10:02:14 -07:00
size-of-val-raw-too-big.stderr TL note: current means target 2024-09-20 10:02:14 -07:00
struct.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
struct.stderr tests: Bless rustc_abi::Abi::Aggregate => ::Memory 2024-10-30 01:41:31 -07:00
thaw-transmute-invalid-enum.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
thaw-transmute-invalid-enum.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
thaw-validate-invalid-enum.rs compiler: Reject impossible reprs during enum layout 2024-10-20 02:12:58 -07:00
thaw-validate-invalid-enum.stderr compiler: Reject impossible reprs during enum layout 2024-10-20 02:12:58 -07:00
thin-meta-implies-thin-ptr.rs
thumb-enum.rs adjust UI tests 2025-01-10 02:22:57 +01:00
thumb-enum.stderr adjust UI tests 2025-01-10 02:22:57 +01:00
too-big-with-padding.rs TL note: current means target 2024-09-20 10:02:14 -07:00
too-big-with-padding.stderr TL note: current means target 2024-09-20 10:02:14 -07:00
transmute-to-tail-with-err.rs
transmute-to-tail-with-err.stderr
trivial-bounds-sized.rs layout computation: eagerly error for unexpected unsized fields 2024-09-16 15:53:21 +02:00
uncomputable-due-to-trivial-bounds-ice-135138.rs Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
uncomputable-due-to-trivial-bounds-ice-135138.stderr Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01: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 Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
unknown-when-no-type-parameter.stderr Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
unknown-when-ptr-metadata-is-DST.rs Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
unknown-when-ptr-metadata-is-DST.stderr Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
unsafe-cell-hides-niche.rs
unsatisfiable-sized-ungated.rs layout computation: eagerly error for unexpected unsized fields 2024-09-16 15:53:21 +02:00
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 adjust UI tests 2025-01-10 02:22:57 +01:00
zero-sized-array-union.rs
zero-sized-array-union.stderr