LLVM assertion failure with moving boxed DST #35546
Labels
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
A-type-system
Area: Type system
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following successfully typechecks on
rustc 1.12.0-nightly (b30eff7ba 2016-08-05)
, but generates an LLVM assertion failure:Error:
Note that replacing
*head = node.next
with*head = node.next.take()
(and makingnode
mutable) allows compilation to succeed.The text was updated successfully, but these errors were encountered: