clippy: actually fail if there are any warnings
So far, only errors would trip the CI, this makes it so all warnings are
elevated to errors, making it a CI fail if any warnings are present.
This was the intended behavior, I just missed this when adding clippy.
--- a/Makefile Wed Jan 25 18:44:09 2023 +0100
+++ b/Makefile Wed Jan 25 18:45:38 2023 +0100
@@ -158,7 +158,7 @@
cargo-clippy:
cd $(HGROOT)/rust \
- && $(CARGO) clippy --all --features "$(HG_RUST_FEATURES)"
+ && $(CARGO) clippy --all --features "$(HG_RUST_FEATURES)" -- -D warnings
check-code:
hg manifest | xargs python contrib/check-code.py