about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-05-30 15:57:29 -0700
committerGitHub <noreply@github.com>2022-05-30 15:57:29 -0700
commit6718723c96e7ad21e0232af9be941e5a5b9a542d (patch)
tree3f57ddcc348798f7d81e551f4337812782b5e0d1 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent12ba87b9964314535e68a1ae9a5616acac4a438a (diff)
parent126ef8ee318d5562c92b351868f77b1b9db0b830 (diff)
downloadrust-6718723c96e7ad21e0232af9be941e5a5b9a542d.tar.gz
rust-6718723c96e7ad21e0232af9be941e5a5b9a542d.zip
Rollup merge of #97431 - compiler-errors:issue-97413, r=oli-obk
don't do `Sized` and other return type checks on RPIT's real type

Fixes an ICE where we're doing `Sized` check against the RPIT's real type, instead of against the opaque type. This differs from what we're doing in MIR typeck, which causes ICE #97226.

This regressed in #96516 -- this adjusts that fix to be a bit more conservative. That PR was backported and thus the ICE is also present in stable. Not sure if it's worth to beta and/or stable backport, probably not the latter but I could believe the former.

r? `@oli-obk`

cc: another attempt to fix this ICE #97413. I believe this PR addresses the root cause.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions