rust/tests
bors 4354192429 Auto merge of #114201 - Centri3:explicit-repr-rust, r=WaffleLapkin
Allow explicit `#[repr(Rust)]`

This is identical to no `repr()` at all. For `Rust, packed` and `Rust, align(x)`, it should be the same as no `Rust` at all (as, afaik, `#[repr(align(16))]` uses the Rust ABI.)

The main use case for this is being able to explicitly say "I want to use the Rust ABI" in very very rare circumstances where the first obvious choice would be the C ABI yet is undesirable, which is already possible with functions as `extern "Rust"`. This would be useful for silencing https://github.com/rust-lang/rust-clippy/pull/11253. It's also more consistent with `extern`.

The lack of this also tripped me up a bit when I was new to Rust, as I expected this to be possible.
2023-08-25 00:02:54 +00:00
..
assembly
auxiliary
codegen Auto merge of #114790 - taiki-e:asm-maybe-uninit, r=Amanieu 2023-08-23 13:40:41 +00:00
codegen-units
debuginfo
incremental
mir-opt Auto merge of #113124 - nbdd0121:eh_frame, r=cjgillot 2023-08-20 09:58:52 +00:00
pretty
run-coverage coverage: Anonymize line numbers in run-coverage test snapshots 2023-08-17 10:03:32 +10:00
run-coverage-rustdoc coverage: Anonymize line numbers in run-coverage test snapshots 2023-08-17 10:03:32 +10:00
run-make Rollup merge of #115135 - GuillaumeGomez:no-html-source-flag, r=notriddle 2023-08-23 17:46:35 +02:00
run-make-fulldeps
run-pass-valgrind
rustdoc Auto merge of #115078 - camelid:tydef-to-alias, r=aDotInTheVoid,GuillaumeGomez 2023-08-24 04:13:28 +00:00
rustdoc-gui Auto merge of #115078 - camelid:tydef-to-alias, r=aDotInTheVoid,GuillaumeGomez 2023-08-24 04:13:28 +00:00
rustdoc-js
rustdoc-js-std
rustdoc-json Fix rustdoc-json tests 2023-08-23 11:52:49 -07:00
rustdoc-ui rustdoc: use unicode-aware checks for redundant explicit link fastpath 2023-08-21 14:25:26 -07:00
ui Auto merge of #114201 - Centri3:explicit-repr-rust, r=WaffleLapkin 2023-08-25 00:02:54 +00:00
ui-fulldeps
COMPILER_TESTS.md