Is there a crate to do Rust-style syntax error highlighting? Like with the ^^^^^ squiggles but as a standalone crate for use with any string? I could've sworn there was, but wondering if I'm just thinking of quote_spanned! for proc macros https://docs.rs/quote/1.0.2/quote/macro.quote_spanned.html#example …
-
Show this thread
-
Replying to @yoshuawuyts
Maybe this? https://github.com/rust-lang/annotate-snippets-rs … it's probably going to be rustc's future diagnostics emitter. (The API is not 100% stable yet, though)
1 reply 1 retweet 3 likes
Replying to @philhansch
Oh I love this; thanks so much!
2:10 AM - 9 Dec 2019
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.