From 5ed42379e3291ee0f119f814114e978444e2cbc7 Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Thu, 23 May 2019 08:01:38 +0200 Subject: librustc_errors: Remove unused annotation style `OldSchoolNoteText` I could not find any references to it and the `snippet` module does not seem to be exported publicly, so I think it can be safely removed. --- src/librustc_errors/emitter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librustc_errors/emitter.rs') diff --git a/src/librustc_errors/emitter.rs b/src/librustc_errors/emitter.rs index 59cbd65f05c..ca86eb69c2d 100644 --- a/src/librustc_errors/emitter.rs +++ b/src/librustc_errors/emitter.rs @@ -1645,7 +1645,7 @@ impl<'a> WritableDst<'a> { } } Style::Quotation => {} - Style::OldSchoolNoteText | Style::MainHeaderMsg => { + Style::MainHeaderMsg => { spec.set_bold(true); if cfg!(windows) { spec.set_intense(true) -- cgit 1.4.1-3-g733a5