]> git.lizzy.rs Git - rust.git/blob - src/test/ui/closure_context/issue-42065.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / closure_context / issue-42065.stderr
1 error[E0382]: use of moved value: `debug_dump_dict`
2   --> $DIR/issue-42065.rs:21:5
3    |
4 LL |     debug_dump_dict();
5    |     --------------- value moved here
6 LL |     debug_dump_dict();
7    |     ^^^^^^^^^^^^^^^ value used here after move
8    |
9 note: closure cannot be invoked more than once because it moves the variable `dict` out of its environment
10   --> $DIR/issue-42065.rs:16:29
11    |
12 LL |         for (key, value) in dict {
13    |                             ^^^^
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0382`.