You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I cargo build and then I will get following error:
error: to use a constant of type codemap::Span in a pattern, codemap::Span must be annotated with #[derive(PartialEq, Eq)]
--> /Users/zoey.weng/.cargo/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.24.0/src/errors/emitter.rs:100:18
|
100 | Some(COMMAND_LINE_SP) => self.emit_(FileLine(COMMAND_LINE_SP), msg, code, lvl),
| ^^^^^^^^^^^^^^^
error: aborting due to previous error
error: Could not compile syntex_syntax.
"syntex_syntax 0.59.1" is ok. But rusty-cheddar use "syntex_syntax 0.24.0".
The text was updated successfully, but these errors were encountered:
Hi @piaojin, as you can probably tell I don't really have the time to maintain this crate anymore unfortunately. I would strongly suggest looking into cbindgen instead.
Cargo.lock:
[[package]]
name = "rusty-cheddar"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"clap 1.5.6 (registry+https://github.com/rust-lang/crates.io-index)",
"syntex_syntax 0.24.0 (registry+https://github.com/rust-lang/crates.io-index)",
"toml 0.1.30 (registry+https://github.com/rust-lang/crates.io-index)",
]
when I cargo build and then I will get following error:
error: to use a constant of type
codemap::Span
in a pattern,codemap::Span
must be annotated with#[derive(PartialEq, Eq)]
--> /Users/zoey.weng/.cargo/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.24.0/src/errors/emitter.rs:100:18
|
100 | Some(COMMAND_LINE_SP) => self.emit_(FileLine(COMMAND_LINE_SP), msg, code, lvl),
| ^^^^^^^^^^^^^^^
error: aborting due to previous error
error: Could not compile
syntex_syntax
."syntex_syntax 0.59.1" is ok. But rusty-cheddar use "syntex_syntax 0.24.0".
The text was updated successfully, but these errors were encountered: