#cargo #markdown #rustc #highlighting #syntax #replacement

app cargo-explain

A syntax highlighting replacement for rustc –explain

1 stable release

1.0.0 Sep 3, 2020

MIT license

77KB
193 lines

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"

Usage

Run cargo install cargo-explain to install as a Cargo subcommand.

Invoke with cargo explain <error code> (cargo explain --explain <error code> is also recognized)

Dependencies

~9.5MB
~227K SLoC