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
{{ message }}
This repository has been archived by the owner on May 6, 2020. It is now read-only.
Hello there. I'm working on a REST api and am using several libraries like serde, diesel (orm), and iron. The latest nightly which diesel is able to compile with is nightly-2016-07-07. I'm attempting to get this project building and having errors when compiling quasi.
My Cargo.lock is quite long, but if needed I can add it.
The error looks like:
/home/freied/.multirust/toolchains/nightly-2016-07-07/cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:230:48: 235:11 error: mismatched types [E0308]
/home/freied/.multirust/toolchains/nightly-2016-07-07/cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:230 r.push(TokenTree::Delimited(self.span, Rc::new(tokenstream::Delimited {
^
/home/freied/.multirust/toolchains/nightly-2016-07-07/cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:230:48: 235:11 help: run `rustc --explain E0308` to see a detailed explanation
/home/freied/.multirust/toolchains/nightly-2016-07-07/cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:230:48: 235:11 note: expected type `syntax::tokenstream::Delimited`
/home/freied/.multirust/toolchains/nightly-2016-07-07/cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:230:48: 235:11 note: found type `std::rc::Rc<syntax::tokenstream::Delimited>`
/home/freied/.multirust/toolchains/nightly-2016-07-07/cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:251:45: 256:11 error: mismatched types [E0308]
/home/freied/.multirust/toolchains/nightly-2016-07-07/cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:251 vec![TokenTree::Delimited(DUMMY_SP, Rc::new(tokenstream::Delimited {
^
/home/freied/.multirust/toolchains/nightly-2016-07-07/cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:251:9: 256:13 note: in this expansion of vec! (defined in <std macros>)
/home/freied/.multirust/toolchains/nightly-2016-07-07/cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:251:45: 256:11 help: run `rustc --explain E0308` to see a detailed explanation
/home/freied/.multirust/toolchains/nightly-2016-07-07/cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:251:45: 256:11 note: expected type `syntax::tokenstream::Delimited`
/home/freied/.multirust/toolchains/nightly-2016-07-07/cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.16.0/src/lib.rs:251:45: 256:11 note: found type `std::rc::Rc<syntax::tokenstream::Delimited>`
error: aborting due to 2 previous errors
Build failed, waiting for other jobs to finish...
error: Could not compile `quasi`.
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered:
Serde_macros and quasi_macros always support the newest nightly only. Nightly means you update every night.
The latest nightly which diesel is able to compile with is nightly-2016-07-07.
That means there is no nightly version that is supported by both the newest version of diesel and the newest version of serde, so you will need to use an old version of serde. See serde-rs/serde#470 for a way to do this.
Hello there. I'm working on a REST api and am using several libraries like serde, diesel (orm), and iron. The latest nightly which diesel is able to compile with is
nightly-2016-07-07
. I'm attempting to get this project building and having errors when compiling quasi.My Cargo.toml file looks like:
My Cargo.lock is quite long, but if needed I can add it.
The error looks like:
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered: