Stream: t-compiler/wg-diagnostics

Topic: library for diagnostics


nikomatsakis (Aug 19 2019 at 17:29, on Zulip):

So did we ever start the effort to extract diagnostic handling into a library? (cc @Esteban Küber) If so, what is the library name?

simulacrum (Aug 19 2019 at 17:34, on Zulip):

https://github.com/rust-lang/annotate-snippets-rs maybe?

simulacrum (Aug 19 2019 at 17:35, on Zulip):

But there may be more than that, not sure. @nikomatsakis ^

nikomatsakis (Aug 19 2019 at 17:35, on Zulip):

thanks :)

Esteban Küber (Aug 19 2019 at 17:59, on Zulip):

That's it but work on it has been sparse, other than getting it into the repo

Philipp Hansch (Aug 20 2019 at 12:45, on Zulip):

the current integration of the library with rust is living here: https://github.com/rust-lang/rust/blob/master/src/librustc_errors/annotate_snippet_emitter_writer.rs
with some (but not all) remaining issues here: https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+annotate-snippet+emitter

Last update: Nov 15 2019 at 11:05UTC