fix: bump solang and adjust breaking change
fixes https://github.com/gakonst/ethers-rs/issues/985
This commit is contained in:
parent
9626cc1335
commit
de275db56a
|
@ -3511,9 +3511,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solang-parser"
|
name = "solang-parser"
|
||||||
version = "0.1.2"
|
version = "0.1.10"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "ec12f31165397a3b145b0b06bc47470226ac9bf52b9aa8ea1ab7aa6e74809b39"
|
checksum = "a06b8bfb6c910adbada563211b876b91a058791505e4cb646591b205fa817d01"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lalrpop",
|
"lalrpop",
|
||||||
"lalrpop-util",
|
"lalrpop-util",
|
||||||
|
|
|
@ -756,7 +756,10 @@ impl From<Match<'_>> for Location {
|
||||||
|
|
||||||
impl From<Loc> for Location {
|
impl From<Loc> for Location {
|
||||||
fn from(src: Loc) -> Self {
|
fn from(src: Loc) -> Self {
|
||||||
Location { start: src.1, end: src.2 }
|
match src {
|
||||||
|
Loc::File(_, start, end) => Location { start, end },
|
||||||
|
_ => Location { start: 0, end: 0 },
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue