rust/tests
Guillaume Gomez cfe1faa75d
Rollup merge of #123658 - compiler-errors:stop-assuming, r=oli-obk
Stop making any assumption about the projections applied to the upvars in the `ByMoveBody` pass

So it turns out that because of subtle optimizations like [`truncate_capture_for_optimization`](ab5bda1aa7/compiler/rustc_hir_typeck/src/upvar.rs (L2351)), we simply cannot make any assumptions about the shape of the projections applied to the upvar locals in a coroutine body.

So stop doing that -- the code is resilient to such projections, so the assertion really existed only to "protect against the unknown".

r? oli-obk
Fixes #123650
2024-04-09 13:39:23 +02:00
..
assembly Rollup merge of #121419 - agg23:xrOS-pr, r=davidtwco 2024-04-05 22:33:25 +02:00
auxiliary
codegen Auto merge of #122387 - DianQK:re-enable-early-otherwise-branch, r=cjgillot 2024-04-09 01:02:29 +00:00
codegen-units
coverage Eliminate UbCheck for non-standard libraries 2024-03-27 21:02:40 +08:00
coverage-run-rustdoc
debuginfo Add rust-lldb pretty printing for Path and PathBuf 2024-03-29 18:02:26 -06:00
incremental Add missing -Zquery-dep-graph to the spike-neg incr comp tests 2024-04-06 13:36:16 +00:00
mir-opt Auto merge of #122387 - DianQK:re-enable-early-otherwise-branch, r=cjgillot 2024-04-09 01:02:29 +00:00
pretty
run-make Auto merge of #123221 - pacak:cache_emit, r=fmease,jieyouxu 2024-04-07 10:46:50 +00:00
run-make-fulldeps Soft-destabilize RustcEncodable/RustcDecodable 2024-03-22 13:24:35 -07:00
run-pass-valgrind
rustdoc rustdoc: synthetic auto: filter out clauses from the implementor's ParamEnv 2024-04-08 20:41:04 +02:00
rustdoc-gui Make theme switching closer to reality 2024-04-08 12:14:41 +02:00
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui Rollup merge of #123375 - fmease:rustdoc-sati-re-hotfix, r=GuillaumeGomez 2024-04-02 21:22:04 +02:00
ui Rollup merge of #123658 - compiler-errors:stop-assuming, r=oli-obk 2024-04-09 13:39:23 +02:00
ui-fulldeps Rollup merge of #123655 - celinval:smir-fix-binop-ty, r=compiler-errors 2024-04-09 06:02:24 +02:00
COMPILER_TESTS.md