rust/src/test/ui/codemap_tests/overlapping_spans.stderr

12 lines
339 B
Plaintext
Raw Normal View History

error[E0509]: cannot move out of type `S`, which implements the `Drop` trait
2016-08-16 16:52:30 +09:00
--> $DIR/overlapping_spans.rs:21:9
|
2016-08-16 16:52:30 +09:00
21 | S {f:_s} => {}
| ^^^^^--^
| | |
| | hint: to prevent move, use `ref _s` or `ref mut _s`
| cannot move out of here
error: aborting due to previous error(s)