diff options
| author | bors <bors@rust-lang.org> | 2023-05-21 04:02:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-21 04:02:46 +0000 |
| commit | a11235d1bfc91b230d9af8a673867812750f7a73 (patch) | |
| tree | 089258b2827f53cc76a80e655345baf0ebc7e351 /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | 1b67f8b013890fec98e4a2e72b568731d3a58c1f (diff) | |
| parent | 7cdb23b98a58a4e73ab1e4ca5e3bb7d04645bdd7 (diff) | |
| download | rust-a11235d1bfc91b230d9af8a673867812750f7a73.tar.gz rust-a11235d1bfc91b230d9af8a673867812750f7a73.zip | |
Auto merge of #111696 - lukas-code:offset-of-erase-regions-harder, r=compiler-errors
don't skip inference for type in `offset_of!` Fixes https://github.com/rust-lang/rust/issues/111678 by no longer skipping inference on the type in `offset_of!`. Simply erasing the regions the during writeback isn't enough and can cause ICEs. A test case for this is included. This reverts https://github.com/rust-lang/rust/pull/111661, because it becomes redundant, since inference already erases the regions.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
