error[E0599]: no method named previous_token found for mutable reference &mut Parser in the current scope
--> frontend/src/parser/parser_core.rs:114:27
|
114 | ... matches!(self.previous_token(), Some(Token::LPAREN) | Some(To...
| ^^^^^^^^^^^^^^ help: there is a method with a similar name: peek_token
error[E0599]: no variant or associated item named MINUS found for enum Token in the current scope
--> frontend/src/parser/parse_binary_exp.rs:88:41
88
if next_token == Token::MINUS {
^^^^^ variant or associated item not found in Token
error[E0599]: no method named previous_token found for mutable reference &mut Parser in the current scope --> frontend/src/parser/parser_core.rs:114:27 | 114 | ... matches!(self.previous_token(), Some(Token::LPAREN) | Some(To... | ^^^^^^^^^^^^^^ help: there is a method with a similar name: peek_token
::: frontend/src/lexer/token.rs:3:1