rust/tests
bors 203c57dbe2 Auto merge of #115334 - RalfJung:transparent-aligned-zst, r=compiler-errors
repr(transparent): it's fine if the one non-1-ZST field is a ZST

This code currently gets rejected:
```rust
#[repr(transparent)]
struct MyType([u16; 0])
```
That clearly seems like a bug to me: `repr(transparent)` [got defined ](https://github.com/rust-lang/rust/issues/77841#issuecomment-716575747) as having any number of 1-ZST fields plus optionally one more field; `MyType` clearly satisfies that definition.

This PR changes the `repr(transparent)` logic to actually match that definition.
2023-09-17 15:20:44 +00:00
..
assembly
auxiliary
codegen Rollup merge of #115591 - djkoloski:issue_115385, r=cuviper 2023-09-11 21:16:21 +02:00
codegen-units
coverage-map Fix up run-coverage and coverage-map/status-quo tests 2023-09-08 12:46:23 +01:00
debuginfo Auto merge of #115128 - davidtwco:re-enable-debuginfo-test, r=wesleywiser 2023-09-12 19:39:27 +00:00
incremental
mir-opt make ty::Const debug printing less verbose 2023-09-16 16:31:09 +02:00
pretty Rework no_coverage to coverage(off) 2023-09-08 12:46:06 +01:00
run-coverage Fix up run-coverage and coverage-map/status-quo tests 2023-09-08 12:46:23 +01:00
run-coverage-rustdoc Tidy up some awkwardly-placed comments in tests 2023-08-26 14:35:34 +10:00
run-make Auto merge of #114750 - Enselic:metadata-dep-info, r=compiler-errors 2023-09-17 11:45:53 +00:00
run-make-fulldeps Remove EarlyErrorHandler argument from after_analysis callback 2023-09-10 09:44:03 +00:00
run-pass-valgrind
rustdoc Implement new eBNF for codeblock attributes 2023-09-15 21:32:28 +02:00
rustdoc-gui Migrate GUI colors test to original CSS color format 2023-09-16 11:54:25 +02:00
rustdoc-js Correctly handle paths from foreign items 2023-09-02 23:04:37 +02:00
rustdoc-js-std Add tests for type-based search 2023-09-01 15:16:11 +02:00
rustdoc-json Fix rustdoc-json tests 2023-08-23 11:52:49 -07:00
rustdoc-ui Implement new eBNF for codeblock attributes 2023-09-15 21:32:28 +02:00
ui Auto merge of #115334 - RalfJung:transparent-aligned-zst, r=compiler-errors 2023-09-17 15:20:44 +00:00
ui-fulldeps Auto merge of #115677 - matthewjasper:let-expr-recovery, r=b-naber 2023-09-14 19:56:55 +00:00
COMPILER_TESTS.md