Skip to content

Commit 82d609c

Browse files
author
Nathan Stocks
committed
have LangItemError derive everything LangItem does
1 parent 6cdfdd0 commit 82d609c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

compiler/rustc_hir/src/errors.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use crate::LangItem;
22

3+
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Encodable, Decodable)]
34
pub struct LangItemError(pub LangItem);
45

56
impl ToString for LangItemError {

0 commit comments

Comments
 (0)