trying to make matching the vector declarative, but I can't use a slice for moving out contents src/test/mod.rs:190:17: 190:30 error: cannot move out of borrowed content src/test/mod.rs:190                 [flag, value] => Token::BinaryInt(flag.into_string().remove(0),                                     ^~~~~~~~~~~~~ src/test/mod.rs:190:18: 190:22 note: attempting to move value to here src/test/mod.rs:190                 [flag, value] => Token::BinaryInt(flag.into_string().remove(0),                                      ^~~~ src/test/mod.rs:190:22: 190:22 help: to prevent the move, use `ref flag` or `ref mut flag` to capture value by reference src/test/mod.rs:190:24: 190:29 note: and here (use `ref value` or `ref mut value`) src/test/mod.rs:190                 [flag, value] => Token::BinaryInt(flag.into_string().remove(0),                                            ^~~~~
trying to make matching the vector declarative, but I can't use a slice for moving out contents
src/test/mod.rs:190:17: 190:30 error: cannot move out of borrowed content
src/test/mod.rs:190                 [flag, value] => Token::BinaryInt(flag.into_string().remove(0),
                                    ^~~~~~~~~~~~~
src/test/mod.rs:190:18: 190:22 note: attempting to move value to here
src/test/mod.rs:190                 [flag, value] => Token::BinaryInt(flag.into_string().remove(0),
                                     ^~~~
src/test/mod.rs:190:22: 190:22 help: to prevent the move, use `ref flag` or `ref mut flag` to capture value by reference
src/test/mod.rs:190:24: 190:29 note: and here (use `ref value` or `ref mut value`)
src/test/mod.rs:190                 [flag, value] => Token::BinaryInt(flag.into_string().remove(0),
                                           ^~~~~

mmun/esprit,RReverser/esprit,RReverser/esprit,dherman/kora,wycats/esprit,dherman/kora,mmun/esprit,wycats/esprit