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[E0507]: cannot move out of immutable static item `BAR`
8 --> $DIR/borrowck-move-out-of-static-item.rs:28:10
10 LL | test(BAR); //[ast]~ ERROR cannot move out of static item [E0507]
13 | cannot move out of immutable static item `BAR`
16 error: aborting due to 2 previous errors
18 For more information about this error, try `rustc --explain E0507`.