Skip to content

Commit

Permalink
Remove unnecessary #[allow(dead_code)]
Browse files Browse the repository at this point in the history
  • Loading branch information
camelid committed Mar 10, 2021
1 parent d31f70c commit ab42f96
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_hir/src/lang_items.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ macro_rules! language_item_table {

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

0 comments on commit ab42f96

Please sign in to comment.