rust/tests
bors 80420a693f Auto merge of #124747 - MasterAwesome:master, r=davidtwco
Support Result<T, E> across FFI when niche optimization can be used (v2)

This PR is identical to #122253, which was approved and merged but then removed from master by a force-push due to a [CI bug](https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/ci.20broken.3F).

r? ghost

Original PR description:

---

Allow allow enums like `Result<T, E>` to be used across FFI if the T/E can be niche optimized and the non-niche-optimized type is FFI safe.

Implementation of https://github.com/rust-lang/rfcs/pull/3391
Tracking issue: https://github.com/rust-lang/rust/issues/110503

Additional ABI and codegen tests were added in https://github.com/rust-lang/rust/pull/115372
2024-05-06 00:55:49 +00:00
..
assembly Add inline comments why we're forcing the target cpu 2024-05-01 16:54:20 -07:00
auxiliary
codegen tests/ui: prepare some tests for --check-cfg by default 2024-05-04 11:30:38 +02:00
codegen-units
coverage Auto merge of #123602 - cjgillot:gvn-borrowed, r=oli-obk 2024-05-03 21:50:13 +00:00
coverage-run-rustdoc
crashes Auto merge of #123602 - cjgillot:gvn-borrowed, r=oli-obk 2024-05-03 21:50:13 +00:00
debuginfo Update lldb only tests 2024-04-26 04:11:05 +03:00
incremental add test for incremental ICE: slice-pattern-const.rs #83085 2024-04-21 14:45:00 +02:00
mir-opt Rollup merge of #124749 - RossSmyth:stable_range, r=davidtwco 2024-05-05 16:42:48 +02:00
pretty Rollup merge of #124269 - scrabsha:sasha/fix-124206, r=dtolnay 2024-04-29 18:03:22 +01:00
run-make Rollup merge of #124698 - JoverZhang:test-rustdoc-determinism, r=jieyouxu 2024-05-04 12:37:23 +02:00
run-make-fulldeps
run-pass-valgrind
rustdoc Fix the assertion crash from rustdoc document indent widths 2024-04-28 11:17:09 +08:00
rustdoc-gui Rollup merge of #124197 - GuillaumeGomez:move-duplicated-code, r=notriddle 2024-04-23 06:24:56 +02:00
rustdoc-js rustdoc-search: add parser for & syntax 2024-04-19 14:31:21 -07:00
rustdoc-js-std rustdoc-search: add parser for & syntax 2024-04-19 14:31:21 -07:00
rustdoc-json
rustdoc-ui compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
ui Auto merge of #124747 - MasterAwesome:master, r=davidtwco 2024-05-06 00:55:49 +00:00
ui-fulldeps Rollup merge of #124218 - Xiretza:subsubdiagnostics, r=davidtwco 2024-04-23 17:25:17 +02:00
COMPILER_TESTS.md