-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thing
Description
Preparation
Hi! I'm trying to compile my project with clippy, but it does not work. In order to make my project use clippy, I've
- added
clippy = { version = "*", optional = true }
to my[dependencies]
section of myCargo.toml
- added these lines to my
lib.rs
#![cfg_attr(feature="clippy", feature(plugin))]
#![cfg_attr(feature="clippy", plugin(clippy))]
- made sure that I'm using the latest nightly version of everything, for example
% rustc --version
rustc 1.27.0-nightly (686d0ae13 2018-04-27)
Problem
But when I'm trying to compile my project using
cargo +nightly build --features "clippy"
I'm these rather lengthy compile errors.
Is there anything I can do or am I using clippy wrong?
Metadata
Metadata
Assignees
Labels
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thing