mirror of https://github.com/rust-lang/rust.git
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.
This commit is contained in:
parent
15ccaf7791
commit
5ed42379e3
|
@ -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)
|
||||
|
|
|
@ -188,7 +188,6 @@ pub enum Style {
|
|||
UnderlineSecondary,
|
||||
LabelPrimary,
|
||||
LabelSecondary,
|
||||
OldSchoolNoteText,
|
||||
NoStyle,
|
||||
Level(Level),
|
||||
Highlight,
|
||||
|
|
Loading…
Reference in New Issue