This commit adds a heuristics-based syntax highlighter for the `rustc --explain` command. It uses `rsutc_lexer`'s lexer to parse input in tokens, and matches on them to determine their color. |
||
|---|---|---|
| .. | ||
| tests | ||
| mod.rs | ||
| parse.rs | ||
| term.rs | ||
This commit adds a heuristics-based syntax highlighter for the `rustc --explain` command. It uses `rsutc_lexer`'s lexer to parse input in tokens, and matches on them to determine their color. |
||
|---|---|---|
| .. | ||
| tests | ||
| mod.rs | ||
| parse.rs | ||
| term.rs | ||