Skip to content

Commit 50e1903

Browse files
committed
Fix lalrpop semver error
1 parent ffb9f13 commit 50e1903

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

parser/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ license = "MIT"
99
edition = "2018"
1010

1111
[build-dependencies]
12-
lalrpop="0.19"
12+
lalrpop = "0.19"
1313

1414
[dependencies]
15-
lalrpop-util = "0.19"
15+
lalrpop-util = "0.19.1"
1616
log = "0.4.1"
1717
num-bigint = "0.3"
1818
num-traits = "0.2"

parser/src/error.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@ impl fmt::Display for LexicalErrorType {
6666
}
6767
}
6868

69-
impl From<LexicalError> for LalrpopError<Location, Tok, LexicalError> {
70-
fn from(err: LexicalError) -> Self {
71-
lalrpop_util::ParseError::User { error: err }
72-
}
73-
}
74-
7569
// TODO: consolidate these with ParseError
7670
#[derive(Debug, PartialEq)]
7771
pub struct FStringError {

0 commit comments

Comments
 (0)