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 clippy fails with "error: multiple input filenames provided" #2571

Closed
imp opened this issue Mar 25, 2018 · 3 comments
Closed

cargo clippy fails with "error: multiple input filenames provided" #2571

imp opened this issue Mar 25, 2018 · 3 comments

Comments

@imp
Copy link
Contributor

imp commented Mar 25, 2018

cargo clippy started to fail on my crates this morning, after routine rustup update
Apparently, the problem is reproduced on a fresh crate as well:

$ cargo new --lib xxx
     Created library `xxx` project
$ cd xxx/
$ cargo clippy
lib: xxx
   Compiling xxx v0.1.0 (file:///Volumes/rust/xxx)
error: multiple input filenames provided

error: Could not compile `xxx`.

To learn more, run the command again with --verbose.
$ cargo -V
cargo 1.26.0-nightly (d10ec661b 2018-03-20)
$ rustc -V
rustc 1.26.0-nightly (f5631d9ac 2018-03-24)
$ cargo clippy -V
0.0.189
@niklasf
Copy link
Contributor

niklasf commented Mar 25, 2018

Maybe the flipside of rust-lang/cargo#5208? Workaround seems to be running cargo-clippy directly.

@andjo403
Copy link

Hi, looks like a duplicate of #2566

@imp
Copy link
Contributor Author

imp commented Mar 25, 2018

@andjo403 Indeed, thanks!

@imp imp closed this as completed Mar 25, 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