use clippy-preview instead of clippy in cargo

This commit is contained in:
Jane Lusby 2019-04-30 18:29:25 -07:00
parent e56e325f85
commit 0df6564d95

View file

@ -12,7 +12,7 @@ fn dogfood() {
let output = std::process::Command::new(clippy_cmd)
.current_dir(root_dir)
.env("CLIPPY_DOGFOOD", "1")
.arg("clippy")
.arg("clippy-preview")
.arg("--all-targets")
.arg("--all-features")
.arg("--")