1 error[E0507]: cannot move out of static item
2 --> $DIR/borrowck-move-out-of-static-item.rs:28:10
4 LL | test(BAR); //[ast]~ ERROR cannot move out of static item [E0507]
5 | ^^^ cannot move out of static item
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0507`.