1
Fork 0

librustc_errors: Don't emit the same error message twice.

This commit is contained in:
Michael Woerister 2017-10-25 15:01:06 +02:00
parent 67f3dc3fee
commit 6fccd71f75
5 changed files with 36 additions and 9 deletions

View file

@ -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,