summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2024-04-02 13:22:36 +0200
committerLinus Färnstrand <linus@mullvad.net>2024-04-02 13:22:36 +0200
commitad1ac09d4d4ebf9e307d923b41155c1014a829c1 (patch)
treee0efb4a0e4d3902b8eb8a0695993aa1e220f536f /test
parent03be1ea82c036ac5fec780dcd6d55d19fcf6df0c (diff)
parentb283fdfdd39ae151be0e79e79d62dd5f13e285e8 (diff)
downloadmullvadvpn-ad1ac09d4d4ebf9e307d923b41155c1014a829c1.tar.xz
mullvadvpn-ad1ac09d4d4ebf9e307d923b41155c1014a829c1.zip
Merge branch 'stricter-rustc-linting'
Diffstat (limited to 'test')
-rw-r--r--test/Cargo.toml10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/Cargo.toml b/test/Cargo.toml
index 35c87980e9..d8763a3cc4 100644
--- a/test/Cargo.toml
+++ b/test/Cargo.toml
@@ -20,8 +20,16 @@ members = [
# Security
non_ascii_idents = "forbid"
-# Modern, easy to read style and opinionated best practices
+# Deny old style Rust
rust_2018_idioms = "deny"
+macro_use_extern_crate = "deny"
+absolute_paths_not_starting_with_crate = "deny"
+
+# Easy to read style and opinionated best practices
+explicit_outlives_requirements = "warn"
+missing_abi = "deny"
+unused_lifetimes = "warn"
+unused_macro_rules = "warn"
[workspace.lints.clippy]
unused_async = "deny"