rust/tests
Matthias Krüger 6e87eb58ed
Rollup merge of #133681 - RalfJung:niches, r=wesleywiser
improve TagEncoding::Niche docs, sanity check, and UB checks

Turns out the `niche_variants` range can actually contain the `untagged_variant`. We should report this as UB in Miri, so this PR implements that.

Also rename `partially_check_layout` to `layout_sanity_check` for better consistency with how similar functions are called in other parts of the compiler.

Turns out my adjustments to the transmutation logic also fix https://github.com/rust-lang/rust/issues/126267.
2024-12-03 21:55:26 +01:00
..
assembly Rollup merge of #133674 - scottmcm:chain-carrying-add, r=Amanieu 2024-12-01 14:30:11 +01:00
auxiliary Support input/output in vector registers of s390x inline assembly 2024-11-22 04:18:14 +09:00
codegen Auto merge of #104342 - mweber15:add_file_location_to_more_types, r=wesleywiser 2024-12-03 12:49:57 +00:00
codegen-units Share inline(never) generics across crates 2024-11-28 13:43:05 -05:00
coverage coverage: Use a query to identify which counter/expression IDs are used 2024-11-30 00:58:48 +11:00
coverage-run-rustdoc coverage: Restrict empty-span expansion to only cover { and } 2024-11-08 20:43:08 +11:00
crashes Rollup merge of #133681 - RalfJung:niches, r=wesleywiser 2024-12-03 21:55:26 +01:00
debuginfo Mark numeric-types.rs as 64-bit only for now 2024-11-17 04:16:59 +08:00
incremental Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
mir-opt Add test for -Zdump-mir-dataflow. 2024-12-02 16:19:17 +11:00
pretty Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
run-make Rollup merge of #133041 - madsmtm:print-deployment-target-env-var, r=davidtwco 2024-12-03 07:48:31 +01:00
rustdoc Add regression test for prelude types 2024-11-25 17:25:25 +01:00
rustdoc-gui Align impl doc block with impl keyword 2024-11-13 15:13:31 +01:00
rustdoc-js rustdoc-search: add standalone trailing :: test 2024-11-17 08:07:16 -07:00
rustdoc-js-std rustdoc search: allow queries to end in an empty path segment 2024-11-15 16:32:40 -06:00
rustdoc-json Rollup merge of #133721 - aDotInTheVoid:rdj-dyn-link, r=GuillaumeGomez 2024-12-02 17:36:05 +01:00
rustdoc-ui Rollup merge of #133595 - GuillaumeGomez:missing_doc_code_examples, r=notriddle 2024-12-01 14:30:09 +01:00
ui Rollup merge of #133681 - RalfJung:niches, r=wesleywiser 2024-12-03 21:55:26 +01:00
ui-fulldeps Add pretty-printer parenthesis insertion test 2024-12-01 21:31:02 -08:00
COMPILER_TESTS.md