fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0382]: use of moved value: `debug_dump_dict` 2 --> $DIR/issue-42065.rs:11:5 3 | 4LL | debug_dump_dict(); 5 | --------------- value moved here 6LL | debug_dump_dict(); 7 | ^^^^^^^^^^^^^^^ value used here after move 8 | 9note: closure cannot be invoked more than once because it moves the variable `dict` out of its environment 10 --> $DIR/issue-42065.rs:6:29 11 | 12LL | for (key, value) in dict { 13 | ^^^^ 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0382`.