mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 01:26:32 +00:00
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.