cargo-check-tip
cargo-check-tip copied to clipboard
Install
$ cargo install --git https://github.com/emi2k01/cargo-check-tip.git
Usage
$ cargo check-tip
For library developers
In your Cargo.toml
[package.metadata.tips]
tip = "Functions must be async"
code_pattern = "(E0456|E0987)" # Rust code error pattern
message_pattern = "the trait bound.*" # Error message pattern
span_pattern = "the trait bound.*" # Span pattern, used to mark where the tip will point to
Rust error anatomy
