ICE "unexpected region in outlives inference: ReEmpty" #64855
Labels
A-lifetimes
Area: Lifetimes / regions
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-high
High priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Internal compiler error
unexpected region in outlives inference: ReEmpty
when missingSelf
bound on struct. Reproducible on stable/beta/nightly on playground.Also, not sure if it already has it's own issue, but
rustc
is causing an illegal instruction error when you run it withBACKTRACE=1
on this code as well, which is also reproducible on playground if you turn the backtrace setting on.I tried this code:
(Playground)
I expected to see this happen:
Instead, this happened:
Meta
rustc versions (from playground):
Backtrace (note the SIGILL at the end)
The text was updated successfully, but these errors were encountered: