rust/tests
León Orell Valerian Liehr 4f4b38c40f
Rollup merge of #117382 - gurry:114529-ice-const-eval, r=oli-obk
Fail typeck for illegal break-with-value

This is fixes the issue wherein typeck was succeeding for break-with-value exprs at illegal locations such as inside `while`, `while let` and `for` loops which eventually caused an ICE during MIR interpretation for const eval.

Now we fail typeck for such code which prevents faulty MIR from being generated and interpreted, thus fixing the ICE.

Fixes #114529
2023-10-30 10:48:20 +01:00
..
assembly Fix closure-inherit-target-feature test for SGX platform 2023-10-23 14:39:01 +02:00
auxiliary
codegen Refactor some char, u8 ascii functions to be branchless 2023-10-26 21:48:36 -04:00
codegen-units Automatically enable cross-crate inlining for small functions 2023-10-17 19:53:51 -04:00
coverage-map coverage: Consistently remove unused counter IDs from expressions/mappings 2023-10-28 09:33:48 +11:00
debuginfo s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
incremental
mir-opt Auto merge of #116270 - cjgillot:gvn-aggregate, r=oli-obk,RalfJung 2023-10-29 14:50:53 +00:00
pretty Remove unnecessary CVarArgs name skipping logic 2023-10-25 17:44:17 +02:00
run-coverage coverage: Consistently remove unused counter IDs from expressions/mappings 2023-10-28 09:33:48 +11:00
run-coverage-rustdoc
run-make Auto merge of #116035 - lqd:mcp-510-target-specs, r=petrochenkov 2023-10-27 02:11:36 +00:00
run-make-fulldeps Auto merge of #116818 - Nilstrieb:stop-submitting-bug-reports, r=wesleywiser 2023-10-26 02:08:07 +00:00
run-pass-valgrind
rustdoc Auto merge of #116471 - notriddle:notriddle/js-trait-alias, r=GuillaumeGomez 2023-10-27 23:08:24 +00:00
rustdoc-gui rustdoc: make JS trait impls act more like HTML 2023-10-22 16:51:32 -07:00
rustdoc-js Add regression test for #115480 2023-10-11 11:41:39 +02:00
rustdoc-js-std
rustdoc-json
rustdoc-ui s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
ui Rollup merge of #117382 - gurry:114529-ice-const-eval, r=oli-obk 2023-10-30 10:48:20 +01:00
ui-fulldeps Add test for smir locals 2023-10-26 00:22:56 +01:00
COMPILER_TESTS.md