about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-06-04 20:10:54 +0000
committerbors <bors@rust-lang.org>2019-06-04 20:10:54 +0000
commit5d8f59f4b1473217c2de7e02330b5aaae70a1668 (patch)
tree4164baf6973e9453f21cf9665b8aef4007f5b9cf /src/test/ui/thinlto
parent97c9437585edafb59dc24701578dc0f20756178c (diff)
parentbfe5d9796b38fdecab6cd7afd28e0a7f23e4915a (diff)
downloadrust-5d8f59f4b1473217c2de7e02330b5aaae70a1668.tar.gz
rust-5d8f59f4b1473217c2de7e02330b5aaae70a1668.zip
Auto merge of #61407 - phansch:annotate_snippet_refactoring1, r=oli-obk
Add new diagnostic writer using annotate-snippet library

This adds a new diagnostic writer `AnnotateRsEmitterWriter` that uses
the [`annotate-snippet`][as] library to print out the human readable
diagnostics.

The goal of #59346 is to eventually switch over to using the library instead of
maintaining our own diagnostics output.

This PR does **not** add all the required features to the new
diagnostics writer. It is only meant as a starting point so that other
people can start contributing as well.

There are some FIXMEs in `librustc_errors/annotate_rs_emitter.rs` that
point at yet to be implemented features of the new diagnostic emitter, however
those are most likely not exhaustive.

[as]: https://github.com/rust-lang/annotate-snippets-rs
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions