cargo check
built-in 0.0% Savings
0 Commands
0 Tokens saved
2 Tests
Install
Safety checks passed
Filter definition
command = "cargo check"
skip = [
"^\\s*Compiling ",
"^\\s*Downloading ",
"^\\s*Locking ",
"^\\s*Updating ",
"^\\s*Fresh ",
]
[on_success]
output = "✓ cargo check: ok"
[on_failure]
tail = 20
Examples
type error shows compiler output
~85 tokens → ~85 tokens
Raw output
error[E0308]: mismatched types --> src/main.rs:42:20 | 42 | let x: i32 = "hello"; | --- ^^^^^^^ expected `i32`, found `&str` | | | expected due to this For more information about this error, try `rustc --explain E0308`. error: could not compile `tokf` (bin "tokf") due to 1 previous error
Filtered output
error[E0308]: mismatched types --> src/main.rs:42:20 | 42 | let x: i32 = "hello"; | --- ^^^^^^^ expected `i32`, found `&str` | | | expected due to this For more information about this error, try `rustc --explain E0308`. error: could not compile `tokf` (bin "tokf") due to 1 previous error
successful check collapses to single line
~28 tokens → ~4 tokens
(86% saved)
Raw output
Checking tokf v0.1.7 (/home/user/tokf)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s Filtered output
✓ cargo check: ok
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.Browse all filters