2016-07-13 17:53:42 -04:00
|
|
|
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-07-13 17:53:42 -04:00
|
|
|
|
|
2016-08-16 16:52:30 +09:00
|
|
|
21 | S {f:_s} => {}
|
2016-07-13 17:53:42 -04:00
|
|
|
| ^^^^^--^
|
|
|
|
| | |
|
|
|
|
| | hint: to prevent move, use `ref _s` or `ref mut _s`
|
|
|
|
| cannot move out of here
|
|
|
|
|
2017-05-22 18:46:05 +07:00
|
|
|
error: aborting due to previous error(s)
|
2016-07-13 17:53:42 -04:00
|
|
|
|