Merge "Explicitly define Rust default lints"

This commit is contained in:
Thiébaud Weksteen
2020-07-01 17:38:58 +00:00
committed by Gerrit Code Review
6 changed files with 156 additions and 92 deletions

View File

@@ -46,7 +46,7 @@ var (
// Because clippy-driver uses rustc as backend, we need to have some output even during the linting.
// Use the metadata output as it has the smallest footprint.
"--emit metadata -o $out $in ${libFlags} " +
"$clippyFlags $rustcFlags",
"$rustcFlags $clippyFlags",
CommandDeps: []string{"$clippyCmd"},
},
"rustcFlags", "libFlags", "clippyFlags")