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
Simple cargo install clippy fails with following message: