Remove unnecessary `#[allow(dead_code)]`

This commit is contained in:
Camelid 2021-03-10 10:27:04 -08:00
parent d31f70c87c
commit ab42f96cff
1 changed files with 0 additions and 1 deletions

View File

@ -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]
}