arcnmx / cargo-clippy

cargo clippy
MIT License
68 stars 11 forks source link

cargo install clippy fails on MacOS for version v0.0.131 #26

Open MrSpock opened 7 years ago

MrSpock commented 7 years ago

Simple cargo install clippy fails with following message:

   Compiling clippy_lints v0.0.131
error[E0107]: wrong number of lifetime parameters: expected 0, found 1
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.131/src/loops.rs:878:35
    |
878 |     indexed: HashMap<Name, Option<CodeExtent<'tcx>>>, // indexed variables, the extent is None for global
    |                                   ^^^^^^^^^^^^^^^^ unexpected lifetime parameter

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.131`, intermediate artifacts can be found at `/var/folders/40/ljqdb4cx3_3ccxxc9xblxr440000gn/T/cargo-install.JTHfrMUMrHml`

Caused by:
  build failed
MrSpock commented 7 years ago

Upgrade to latest nightly (05-05-2017) solved problem.