summary refs log tree commit diff
path: root/src/test/ui/issue-17718-static-move.stderr
blob: a6384cfce8fd4386cecb88cdd691e603b406ad0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0507]: cannot move out of static item
  --> $DIR/issue-17718-static-move.rs:16:14
   |
LL |     let _a = FOO; //~ ERROR: cannot move out of static item
   |              ^^^
   |              |
   |              cannot move out of static item
   |              help: consider using a reference instead: `&FOO`

error: aborting due to previous error

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