about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNathan Stocks <cleancut@github.com>2022-08-24 17:06:18 -0600
committerNathan Stocks <cleancut@github.com>2022-08-25 11:06:45 -0600
commit82d609c8dfab1b7a1a77de54c1ac27f73778cf10 (patch)
tree7f19170870ce8f1cfdf1c0e9bb8d56442e6f15d8
parent6cdfdd02f65da9d11742e15cd3d1176bb2ab3858 (diff)
downloadrust-82d609c8dfab1b7a1a77de54c1ac27f73778cf10.tar.gz
rust-82d609c8dfab1b7a1a77de54c1ac27f73778cf10.zip
have LangItemError derive everything LangItem does
-rw-r--r--compiler/rustc_hir/src/errors.rs1
1 files changed, 1 insertions, 0 deletions
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 {