about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2017-11-25 17:33:47 +0100
committerGitHub <noreply@github.com>2017-11-25 17:33:47 +0100
commit0854bfbac92b0410f009b70845d6289894c91d60 (patch)
treeae1ce78fbb4f7feb48676197dfda7cdbbc40c27d
parent7f06055d60c3d2a2d75de8264ac9f626f97ebcdd (diff)
downloadrust-0854bfbac92b0410f009b70845d6289894c91d60.tar.gz
rust-0854bfbac92b0410f009b70845d6289894c91d60.zip
Derive Debug for LangItem
-rw-r--r--src/librustc/middle/lang_items.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/middle/lang_items.rs b/src/librustc/middle/lang_items.rs
index 679c4f17a6c..b57f58e0d2e 100644
--- a/src/librustc/middle/lang_items.rs
+++ b/src/librustc/middle/lang_items.rs
@@ -40,7 +40,7 @@ macro_rules! language_item_table {
 
 
 enum_from_u32! {
-    #[derive(Copy, Clone, PartialEq, Eq, Hash, RustcEncodable, RustcDecodable)]
+    #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, RustcEncodable, RustcDecodable)]
     pub enum LangItem {
         $($variant,)*
     }