Rollup merge of #46259 - bjorn3:display_lang_item, r=nagisa

Derive Debug for LangItem
This commit is contained in:
kennytm 2017-11-26 15:01:38 +08:00 committed by GitHub
commit 788fed8158

View File

@ -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,)*
}