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