We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83fbc06 commit 975e929Copy full SHA for 975e929
crate/tests/lints.rs
@@ -15,6 +15,7 @@ fn lints() {
15
let entry = entry.unwrap();
16
let path = entry.path();
17
18
+ #[allow(clippy::explicit_write)]
19
writeln!(stderr(), "{:?}", path.canonicalize().unwrap()).unwrap();
20
21
std::process::Command::new("cargo")
scripts/clippy.sh
@@ -13,10 +13,8 @@ WORKSPACE="$(realpath "$SCRIPTS"/..)"
13
14
cd "$WORKSPACE"
-for X in lints/*; do
- pushd "$X"
- cargo clippy --workspace --tests -- \
+for X in . lints/*; do
+ cargo clippy --manifest-path "$X"/Cargo.toml --workspace --tests -- \
-D warnings \
-W clippy::pedantic
- popd
22
done
0 commit comments