]> git.lizzy.rs Git - rust.git/blobdiff - .cargo/config
Respect attributes in Hygiene token up-mapping
[rust.git] / .cargo / config
index f6b0b66bfe738fbbeba7d7eea8d7daede0b16754..1447614b76363d6cd61b64c0a1678fcdd3988e64 100644 (file)
@@ -3,6 +3,7 @@ xtask = "run --package xtask --bin xtask --"
 install-ra = "run --package xtask --bin xtask -- install" # for backwards compat
 tq = "test -- -q"
 qt = "tq"
+lint = "clippy --all-targets -- -Aclippy::collapsible_if -Aclippy::needless_pass_by_value -Aclippy::nonminimal_bool -Aclippy::redundant_pattern_matching --cap-lints warn"
 
 [target.x86_64-pc-windows-msvc]
 linker = "rust-lld"