diff --git a/compiler/rustc_hir/src/errors.rs b/compiler/rustc_hir/src/errors.rs index 7ed09d3f293..e593ed1044a 100644 --- a/compiler/rustc_hir/src/errors.rs +++ b/compiler/rustc_hir/src/errors.rs @@ -1,5 +1,6 @@ use crate::LangItem; +#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Encodable, Decodable)] pub struct LangItemError(pub LangItem); impl ToString for LangItemError {