1 error[E0382]: use of moved value: `c`
2 --> $DIR/closure-origin-single-variant-diagnostics.rs:17:13
7 | ^ value used here after move
9 note: closure cannot be moved more than once as it is not `Copy` due to moving the variable `point.0` out of its environment
10 --> $DIR/closure-origin-single-variant-diagnostics.rs:12:50
12 LL | let SingleVariant::Point(ref mut x, _) = point;
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0382`.