about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/tests.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-09 07:25:47 +0100
committerGitHub <noreply@github.com>2022-12-09 07:25:47 +0100
commit04dac4285aefc2fb18ad07b1e40f6771e0763aea (patch)
tree796b1b354041013db7a9123f620a3f115f5882b3 /compiler/rustc_mir_transform/src/coverage/tests.rs
parent6111a7345be5f50b7170aa6ec69a5d823878cb27 (diff)
parente73ef59cb6d806d9f5405237383d65bf02095127 (diff)
downloadrust-04dac4285aefc2fb18ad07b1e40f6771e0763aea.tar.gz
rust-04dac4285aefc2fb18ad07b1e40f6771e0763aea.zip
Rollup merge of #105455 - lcnr:correct-reveal-in-validate, r=jackh726
use the correct `Reveal` during validation

supersedes #105454. Deals with https://github.com/rust-lang/rust/issues/105009#issuecomment-1342395333, not closing #105009 as the ICE may leak into beta

The issue was the following:
- we optimize the mir, using `Reveal::All`
- some optimization relies on the hidden type of an opaque type
- we then validate using `Reveal::UserFacing` again which is not able to observe the hidden type

r? `@jackh726`
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/tests.rs')
0 files changed, 0 insertions, 0 deletions