Skip to content
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

rust v1.42 needed #49

Open
knarrff opened this issue May 15, 2021 · 0 comments
Open

rust v1.42 needed #49

knarrff opened this issue May 15, 2021 · 0 comments

Comments

@knarrff
Copy link

knarrff commented May 15, 2021

I just tried to build current master on a Debian-stable machine, which has Rust 1.41 installed. According to the Readme, this should be sufficient. However, Cargo.lock specifies name = "rusqlite" version = "0.24.2" as dependency, which uses the 'matches' macro, which was only "stablized" with Rust 1.42, so with Rust 1.41 I see errors like:

Compiling rusqlite v0.24.2
error[E0658]: use of unstable library feature 'matches_macro'
--> /home/username/.cargo/registry/src/github.com-1ecc6299db9ec823/rusqlite-0.24.2/src/types/from_sql.rs:146:44
|
146 | i64::column_result(value).map(|i| !matches!(i, 0))
| ^^^^^^^
|
= note: for more information, see rust-lang/rust#65721

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant