From 0dadd3c3ad99b497249544c0a7a15b8bd0649b1e Mon Sep 17 00:00:00 2001 From: Richard Diamond Date: Thu, 4 Sep 2014 13:29:26 -0500 Subject: [PATCH] Auto-derive Clone for syntax::diagnostic::Level. --- src/libsyntax/diagnostic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsyntax/diagnostic.rs b/src/libsyntax/diagnostic.rs index 0b26a641f8d5..c026a1c97c13 100644 --- a/src/libsyntax/diagnostic.rs +++ b/src/libsyntax/diagnostic.rs @@ -211,7 +211,7 @@ pub fn mk_handler(e: Box) -> Handler { } } -#[deriving(PartialEq)] +#[deriving(PartialEq, Clone)] pub enum Level { Bug, Fatal,