rustc panicked when reference a moved variable in a closure #129951
Labels
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.
Code
Cargo project for the above code: https://github.com/ultimaweapon/rustc-bug
It working if I remove the
let mut buf = [0u8; 4];
.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: