librustc_errors: Rename AnnotateRs -> AnnotateSnippet
The proper name of the library is `annotate-snippet`, not `annotate-rs`, this commit should get rid of any confusing `AnnotateRs` names. 1. Renames `annotate_rs_emitter.rs` to `annotate_snippet_emitter_writer.rs` so that the difference between the `Emitter` trait and the implementers is more clear. 2. Renames `AnnotateRsEmitterWriter` to `AnnotateSnippetEmitterWriter` 3. Renames `HumanReadableErrorType::AnnotateRs` to `HumanReadableErrorType::AnnotateSnippet`
This commit is contained in:
parent
47f4975cd7
commit
df076b2d5e
5 changed files with 18 additions and 18 deletions
|
@ -33,7 +33,7 @@ use termcolor::{ColorSpec, Color};
|
|||
mod diagnostic;
|
||||
mod diagnostic_builder;
|
||||
pub mod emitter;
|
||||
pub mod annotate_rs_emitter;
|
||||
pub mod annotate_snippet_emitter_writer;
|
||||
mod snippet;
|
||||
pub mod registry;
|
||||
mod styled_buffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue