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

cargo install clippy fails on latest nightly #2801

Closed
Lytigas opened this issue May 26, 2018 · 3 comments
Closed

cargo install clippy fails on latest nightly #2801

Lytigas opened this issue May 26, 2018 · 3 comments

Comments

@Lytigas
Copy link

Lytigas commented May 26, 2018

I have zero background in this project, I just wanted to try it out for the first time. Anyway:

rustup show

Default host: x86_64-unknown-linux-gnu

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu (default)

installed targets for active toolchain
--------------------------------------

arm-unknown-linux-gnueabi
x86_64-unknown-linux-gnu

active toolchain
----------------

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.28.0-nightly (990d8aa74 2018-05-25)

cargo install clippy --verbose

@Arnavion
Copy link
Contributor

Arnavion commented May 26, 2018

rust-lang/rust#50967

error[E0432]: unresolved import `rustc::mir::interpret::PrimVal`
   --> /home/travis/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/clippy_lints-0.0.204/src/consts.rs:418:33
    |
418 |     use rustc::mir::interpret::{PrimVal, ConstValue};
    |                                 ^^^^^^^ no `PrimVal` in `mir::interpret`
error[E0599]: no variant named `ByVal` found for type `rustc::mir::interpret::ConstValue<'_>` in the current scope
   --> /home/travis/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/clippy_lints-0.0.204/src/consts.rs:420:25
    |
420 |         ConstVal::Value(ConstValue::ByVal(PrimVal::Bytes(b))) => match result.ty.sty {
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant not found in `rustc::mir::interpret::ConstValue<'_>`
error[E0599]: no variant named `ByValPair` found for type `rustc::mir::interpret::ConstValue<'_>` in the current scope
   --> /home/travis/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/clippy_lints-0.0.204/src/consts.rs:428:25
    |
428 |         ConstVal::Value(ConstValue::ByValPair(PrimVal::Ptr(ptr), PrimVal::Bytes(n))) => match result.ty.sty {
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant not found in `rustc::mir::interpret::ConstValue<'_>`
error: aborting due to 3 previous errors

@oli-obk
Copy link
Contributor

oli-obk commented May 26, 2018

On it

@oli-obk
Copy link
Contributor

oli-obk commented May 26, 2018

Published as 0.0.205

@oli-obk oli-obk closed this as completed May 26, 2018
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

3 participants