arcnmx / cargo-clippy

cargo clippy
MIT License
68 stars 11 forks source link

cargo-clippy passes wrong arguments to rustc #8

Closed untitaker closed 8 years ago

untitaker commented 8 years ago

See https://travis-ci.org/untitaker/mysteryshack/jobs/96356699#L519

extra arguments to rustc can only be passed to one target, consider filtering the package by passing e.g. --lib or --bin NAME to specify a single target

rust nightly version: 2015-12-11

Just run cargo clippy on https://github.com/untitaker/mysteryshack

arcnmx commented 8 years ago

cargo clippy --lib works fine. You have to specify what you want to run clippy on when it's ambiguous, just as the error message says.