Skip to content

Add build compatibility with rustc 1.36.0 since #1318 merged #1516

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions compiler/src/mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ impl std::str::FromStr for Mode {
impl Mode {
pub fn to_parser_mode(self) -> parser::Mode {
match self {
Self::Exec | Self::Single => parser::Mode::Program,
Self::Eval => parser::Mode::Statement,
Mode::Exec | Mode::Single => parser::Mode::Program,
Mode::Eval => parser::Mode::Statement,
}
}
}
Expand Down