summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorIan Chamberlain <ichamberlain@juniper.net>2023-01-03 10:16:16 -0500
committerIan Chamberlain <ichamberlain@juniper.net>2023-01-09 11:46:29 -0500
commit1b8141b54cb5f89bd3dee7bfbab41109d1b48cb6 (patch)
tree8b4a5f2270fa6e807cf0cf76174b1800e8c07315 /tests/rustdoc-js-std/parser-errors.js
parentf32e20edb99a15d42984ec89f6b3986248845929 (diff)
downloadrust-1b8141b54cb5f89bd3dee7bfbab41109d1b48cb6.tar.gz
Parse + decorate rendered ANSI cargo output
Use ANSI control characters to display text decorations matching the VScode terminal theme, and strip them out when providing text content for rustc diagnostics. This adds the small `anser` library to parse the control codes, and it also supports HTML output so it should be fairly easy to switch to a rendered HTML/webview implementation if desired.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions