rust/tests
许杰友 Jieyou Xu (Joe) aae4730c78
Rollup merge of #131802 - compiler-errors:fnonce-coverage, r=Zalathar
Dont ICE when computing coverage of synthetic async closure body

I'm not totally certain if this is *right*, but at least it doesn't ICE.

The issue is that we end up generating two MIR bodies for each async closure, since the `FnOnce` and `Fn`/`FnMut` implementations have different borrowing behavior of their captured variables. They should ideally both contribute to the coverage, since those MIR bodies are (*to the user*) the same code and should have no behavioral differences.

This PR at least suppresses the ICEs, and then I guess worst case we can fix this the right way later.

r? Zalathar or re-roll

Fixes #131190
2024-10-18 12:00:51 +01:00
..
assembly
auxiliary
codegen Auto merge of #131572 - cuviper:ub-index_range, r=thomcc 2024-10-17 22:18:24 +00:00
codegen-units
coverage Dont ICE when computing coverage of synthetic async closure body 2024-10-18 20:14:02 +11:00
coverage-run-rustdoc
crashes Rollup merge of #131802 - compiler-errors:fnonce-coverage, r=Zalathar 2024-10-18 12:00:51 +01:00
debuginfo
incremental
mir-opt bless mir-opt tests 2024-10-17 10:22:55 +02:00
pretty
run-make Rollup merge of #131755 - jfrimmel:avr-rjmp-offset-regression-test, r=jieyouxu 2024-10-18 12:00:50 +01:00
rustdoc Auto merge of #131797 - matthiaskrgr:rollup-lzpze2k, r=matthiaskrgr 2024-10-16 20:50:53 +00:00
rustdoc-gui
rustdoc-js
rustdoc-js-std
rustdoc-json rustdoc-JSON: Rename "object safe" to "dyn compatible" 2024-10-16 23:00:49 +02:00
rustdoc-ui
ui Rollup merge of #131857 - WaffleLapkin:dyn-drop-principal-3, r=compiler-errors 2024-10-18 06:59:07 +02:00
ui-fulldeps
COMPILER_TESTS.md