Skip to content

Commit

Permalink
have LangItemError derive everything LangItem does
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanCut committed Aug 25, 2022
1 parent 6cdfdd0 commit 82d609c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_hir/src/errors.rs
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 82d609c

Please sign in to comment.