# cargo explain A replacement for `rustc --explain` that syntax highlights Rust code snippets for easier reading. ![Markdown with syntax highlighted code snippets from running "cargo explain E0308"](cargo-explain.png) ## Usage Run `cargo install cargo-explain` to install as a Cargo subcommand. Invoke with `cargo explain ` (`cargo explain --explain ` is also recognized)