summary refs log tree commit diff
path: root/src/test/ui/codemap_tests/overlapping_spans.stderr
blob: 62a4f08e156611c4ca314d893749d9994f0706dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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

For more information about this error, try `rustc --explain E0509`.