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

Can't install clippy with cargo: pattern Catch(_) not covered #1622

Closed
atodorov opened this issue Mar 15, 2017 · 4 comments
Closed

Can't install clippy with cargo: pattern Catch(_) not covered #1622

atodorov opened this issue Mar 15, 2017 · 4 comments

Comments

@atodorov
Copy link

$ rustup show
Default host: x86_64-unknown-linux-gnu

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.17.0-nightly (6f10e2f63 2017-03-14)

$ cargo install clippy
    Updating registry `https://github.com/rust-lang/crates.io-index`
  Installing clippy v0.0.119
   Compiling unicode-xid v0.0.4
   Compiling quine-mc_cluskey v0.2.4
   Compiling itoa v0.3.1
   Compiling quote v0.3.15
   Compiling synom v0.11.3
   Compiling rustc-serialize v0.3.22
   Compiling regex-syntax v0.4.0
   Compiling syn v0.11.9
   Compiling dtoa v0.4.1
   Compiling serde v0.9.11
   Compiling toml v0.2.1
   Compiling num-traits v0.1.37
   Compiling semver-parser v0.7.0
   Compiling serde_json v0.9.9
   Compiling serde_codegen_internals v0.14.1
   Compiling semver v0.6.0
   Compiling matches v0.1.4
   Compiling unicode-normalization v0.1.4
   Compiling clippy_lints v0.0.119
error[E0004]: non-exhaustive patterns: `Catch(_)` not covered
  --> /home/atodorov/.cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.119/src/utils/sugg.rs:90:15
   |
90 |         match expr.node {
   |               ^^^^^^^^^ pattern `Catch(_)` not covered

error: aborting due to previous error

error: Could not compile `clippy_lints`.
Build failed, waiting for other jobs to finish...
error: failed to compile `clippy v0.0.119`, intermediate artifacts can be found at `/tmp/cargo-install.V6QIugXKLAhp`

Caused by:
  build failed

@Arnavion
Copy link
Contributor

(From rust-lang/rust#39921 )

@llogiq
Copy link
Contributor

llogiq commented Mar 16, 2017

A fix is pushed, but not yet published.

@oli-obk
Copy link
Contributor

oli-obk commented Mar 17, 2017

The fix has been published as 0.0.120

@oli-obk oli-obk closed this as completed Mar 17, 2017
@oli-obk
Copy link
Contributor

oli-obk commented Mar 17, 2017

Sorry about the delay

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

4 participants