1 error[E0507]: cannot move out of borrowed content
2 --> $DIR/issue-2590.rs:22:9
4 LL | self.tokens //~ ERROR cannot move out of borrowed content
5 | ^^^^^^^^^^^ cannot move out of borrowed content
7 error[E0507]: cannot move out of `self.tokens` which is behind a `&` reference
8 --> $DIR/issue-2590.rs:22:9
10 LL | fn parse(&self) -> Vec<isize> {
11 | ----- help: consider changing this to be a mutable reference: `&mut self`
12 LL | self.tokens //~ ERROR cannot move out of borrowed content
15 | cannot move out of `self.tokens` which is behind a `&` reference
16 | `self` is a `&` reference, so the data it refers to cannot be moved
18 error: aborting due to 2 previous errors
20 For more information about this error, try `rustc --explain E0507`.