]>
Commit | Line | Data |
---|---|---|
dc9dc135 | 1 | error[E0507]: cannot move out of static item `BAR` |
0731742a | 2 | --> $DIR/static-items-cant-move.rs:18:10 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | test(BAR); |
dc9dc135 | 5 | | ^^^ move occurs because `BAR` has type `Foo`, which does not implement the `Copy` trait |
b7449926 XL |
6 | |
7 | error: aborting due to previous error | |
8 | ||
9 | For more information about this error, try `rustc --explain E0507`. |