blob: dc801b20dfb9d7acf4e9b18ae728310dff248223 (
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} => {} //~ 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
|