trying to abstract lexer logic but can't store a mutable reference to the lexer in the span tracker src/lexer.rs:278:9: 278:13 error: cannot borrow `*self` as mutable more than once at a time src/lexer.rs:278         self.skip2();                          ^~~~ src/lexer.rs:277:24: 277:28 note: previous borrow of `*self` occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `*self` until the borrow ends src/lexer.rs:277         let mut span = self.start();                                         ^~~~ src/lexer.rs:282:6: 282:6 note: previous borrow ends here src/lexer.rs:276     fn read_line_comment(&mut self) -> Token { ... src/lexer.rs:282     }                      ^
trying to abstract lexer logic but can't store a mutable reference to the lexer in the span tracker
src/lexer.rs:278:9: 278:13 error: cannot borrow `*self` as mutable more than once at a time
src/lexer.rs:278         self.skip2();
                         ^~~~
src/lexer.rs:277:24: 277:28 note: previous borrow of `*self` occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `*self` until the borrow ends
src/lexer.rs:277         let mut span = self.start();
                                        ^~~~
src/lexer.rs:282:6: 282:6 note: previous borrow ends here
src/lexer.rs:276     fn read_line_comment(&mut self) -> Token {
...
src/lexer.rs:282     }
                     ^

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