ICE with HRTB: Broken MIR in DefId [...] could not prove Binder #59311
Labels
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
rustc
ICEes when trying to compile the following code. As far as I can tell, the issue is due to the HRTB. All other issues I found mentioningbroken MIR in DefId
where either using unstable features and/or related toimpl Trait
which seems to be unrelated to this issue.Playground link
Meta
On the playground, I am able to reproduce the ICE on stable (1.33), beta, and nightly. Locally I have the following setup:
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: