2017-05-05 23:28:36 +02:00
|
|
|
error[E0382]: use of moved value: `debug_dump_dict`
|
2017-12-10 23:29:24 +03:00
|
|
|
--> $DIR/issue-42065.rs:21:5
|
2017-05-05 23:28:36 +02:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | debug_dump_dict();
|
2017-11-20 13:13:27 +01:00
|
|
|
| --------------- value moved here
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | debug_dump_dict();
|
2017-05-05 23:28:36 +02:00
|
|
|
| ^^^^^^^^^^^^^^^ value used here after move
|
|
|
|
|
|
2017-05-31 00:07:09 +01:00
|
|
|
note: closure cannot be invoked more than once because it moves the variable `dict` out of its environment
|
2017-06-06 09:29:06 +01:00
|
|
|
--> $DIR/issue-42065.rs:16:29
|
2017-05-31 00:07:09 +01:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | for (key, value) in dict {
|
2017-05-31 00:07:09 +01:00
|
|
|
| ^^^^
|
2017-05-05 23:28:36 +02:00
|
|
|
|
2017-07-02 13:49:30 +03:00
|
|
|
error: aborting due to previous error
|
2017-05-05 23:28:36 +02:00
|
|
|
|
2018-02-19 21:40:25 +01:00
|
|
|
If you want more information on this error, try using "rustc --explain E0382"
|