librustc_errors: Don't emit the same error message twice.
This commit is contained in:
parent
67f3dc3fee
commit
6fccd71f75
5 changed files with 36 additions and 9 deletions
|
@ -203,7 +203,7 @@ pub struct StyledString {
|
|||
pub style: Style,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, PartialEq, RustcEncodable, RustcDecodable)]
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Hash, RustcEncodable, RustcDecodable)]
|
||||
pub enum Style {
|
||||
HeaderMsg,
|
||||
LineAndColumn,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue