13 lines
440 B
Plaintext
13 lines
440 B
Plaintext
error[E0509]: cannot move out of type `S`, which implements the `Drop` trait
|
|
--> $DIR/overlapping_spans.rs:21:9
|
|
|
|
|
LL | S {f:_s} => {} //~ ERROR cannot move out
|
|
| ^^^^^--^
|
|
| | |
|
|
| | hint: to prevent move, use `ref _s` or `ref mut _s`
|
|
| cannot move out of here
|
|
|
|
error: aborting due to previous error
|
|
|
|
If you want more information on this error, try using "rustc --explain E0509"
|