3 "broken MIR" ICEs when combining futures and assoc. types #61320
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
C-bug
Category: This is a bug.
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.
The following code, which uses
futures
, a few self-defined traits with associated types, andwhere
-clauses on those, causes 3 "broken MIR" ICEs when built (Playground link):Compiler output:
Any help on minifying the code would be welcome. Inlining the
futures
trait definitions into the crate makes one of the ICEs go away, so this version pulls it in as an external crate.The text was updated successfully, but these errors were encountered: