blob: d32b18d670308c4379da0ed8060db3694a1f1bdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0509]: cannot move out of type `S`, which implements the `Drop` trait
--> $DIR/overlapping_spans.rs:21:9
|
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
|