Skip to content

Commit ab42f96

Browse files
committed
Remove unnecessary #[allow(dead_code)]
1 parent d31f70c commit ab42f96

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_hir/src/lang_items.rs

-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ macro_rules! language_item_table {
119119

120120
$(
121121
#[doc = concat!("Returns the [`DefId`] of the `", stringify!($name), "` lang item if it is defined.")]
122-
#[allow(dead_code)]
123122
pub fn $method(&self) -> Option<DefId> {
124123
self.items[LangItem::$variant as usize]
125124
}

0 commit comments

Comments
 (0)