Skip to content

Commit

Permalink
Auto-derive Clone for syntax::diagnostic::Level.
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondLovesYou committed Sep 4, 2014
1 parent bef51ba commit 0dadd3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/diagnostic.rs
Expand Up @@ -211,7 +211,7 @@ pub fn mk_handler(e: Box<Emitter + Send>) -> Handler {
}
}

#[deriving(PartialEq)]
#[deriving(PartialEq, Clone)]
pub enum Level {
Bug,
Fatal,
Expand Down

3 comments on commit 0dadd3c

@alexcrichton
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

@alexcrichton
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors: retry

@alexcrichton
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors: retry

Please sign in to comment.