est31 / cargo-udeps

Find unused dependencies in Cargo.toml
Other
1.76k stars 46 forks source link

error[E0658]: use of unstable library feature 'bool_to_option' #99

Closed twhiteheadzm closed 3 years ago

twhiteheadzm commented 3 years ago

When attempting to install as per instructions on crates.io I get error:

error[E0658]: use of unstable library feature 'bool_to_option'

Ubuntu 18.04 running inside WSL. I have a specific nightly as default: nightly-2020-10-01-x86_64-unknown-linux-gnu (default)

So I tried the install with +stable and also with +nightly but see the same above error.

qryxip commented 3 years ago

I think the stable channel and the nightly channel are also old.

bool::then is no longer featere-gated since Rust 1.50.

twhiteheadzm commented 3 years ago

Thanks. I updated rust and that fixed the install. Now experiencing an issue when running it with a particular crate not compiling which seems to cause the whole process to fail. But that is a separate issue.