summary refs log tree commit diff
path: root/src/test/ui/closure_context/issue-42065.stderr
blob: c195940ade6fa931275e620ca43d705acba29257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0382]: use of moved value: `debug_dump_dict`
  --> $DIR/issue-42065.rs:21:5
   |
20 |     debug_dump_dict();
   |     --------------- value moved here
21 |     debug_dump_dict();
   |     ^^^^^^^^^^^^^^^ value used here after move
   |
note: closure cannot be invoked more than once because it moves the variable `dict` out of its environment
  --> $DIR/issue-42065.rs:16:29
   |
16 |         for (key, value) in dict {
   |                             ^^^^

error: aborting due to previous error