#syntax-highlighting #explain #replace #rustc #cargo #highlight

app cargo-explain

A syntax highlighting replacement for rustc --explain

1 stable release

1.0.0 Sep 3, 2020

#10 in #explain

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

~13–22MB
~347K SLoC