rust/tests
bors 2fdd9eda0c Auto merge of #118534 - RalfJung:extern-type-size-of-val, r=WaffleLapkin
codegen: panic when trying to compute size/align of extern type

The alignment is also computed when accessing a field of extern type at non-zero offset, so we also panic in that case.

Previously `size_of_val` worked because the code path there assumed that "thin pointer" means "sized". But that's not true any more with extern types. The returned size and align are just blatantly wrong, so it seems better to panic than returning wrong results. We use a non-unwinding panic since code probably does not expect size_of_val to panic.
2023-12-13 08:33:05 +00:00
..
assembly fix: stop emitting .debug_pubnames and .debug_pubtypes 2023-12-11 14:58:02 -05:00
auxiliary
codegen Fix alignment passed down to LLVM for simd_masked_load 2023-12-12 13:11:59 +01:00
codegen-units
coverage Rollup merge of #118666 - Zalathar:body-closure, r=cjgillot 2023-12-09 00:48:10 -08:00
coverage-run-rustdoc
debuginfo
incremental tests: CGU tests require build-pass, not check-pass (remove FIXME) 2023-12-12 15:48:48 +01:00
mir-opt End locals' live range before suspending coroutine 2023-12-11 23:11:20 +01:00
pretty Improve print_tts by changing tokenstream::Spacing. 2023-12-11 09:19:09 +11:00
run-make Improve print_tts by changing tokenstream::Spacing. 2023-12-11 09:19:09 +11:00
run-make-fulldeps
run-pass-valgrind
rustdoc
rustdoc-gui
rustdoc-js rustdoc-search: fix fast path unboxing bindings 2023-12-10 20:53:53 -07:00
rustdoc-js-std
rustdoc-json
rustdoc-ui Add a test for a codeblock with multiple invalid attributes 2023-12-12 19:41:09 +01:00
ui Auto merge of #118534 - RalfJung:extern-type-size-of-val, r=WaffleLapkin 2023-12-13 08:33:05 +00:00
ui-fulldeps remove redundant imports 2023-12-10 10:56:22 +08:00
COMPILER_TESTS.md