cargo clippy
built-in 52.6% Savings
380 Commands
57.3K Tokens saved
2 Tests
Install
Safety checks passed
Filter definition
command = "cargo clippy"
skip = [
"^ Compiling ",
"^ Checking ",
"^ Locking ",
]
[on_success]
output = "ok ✓ no warnings"
[on_failure]
tail = 30
Examples
success output shows no warnings
~29 tokens → ~4 tokens
(86% saved)
Raw output
Checking tokf v0.1.0 (/Users/user/project)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.23s Filtered output
ok ✓ no warnings
warnings show lint output
~85 tokens → ~73 tokens
(14% saved)
Raw output
Checking tokf v0.1.0 (/Users/user/project) warning: unused variable: `x` --> src/main.rs:3:5 | 3 | let x = 5; | ^ help: if this is intentional, prefix it with an underscore: `_x` | = note: `#[warn(unused_variables)]` on by default warning: 1 warning emitted error: could not compile `tokf` due to 1 previous error
Filtered output
warning: unused variable: `x` --> src/main.rs:3:5 | 3 | let x = 5; | ^ help: if this is intentional, prefix it with an underscore: `_x` | = note: `#[warn(unused_variables)]` on by default warning: 1 warning emitted error: could not compile `tokf` due to 1 previous error
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.Browse all filters