Remove unnecessary #[allow(dead_code)]

This commit is contained in:
Camelid 2021-03-10 10:27:04 -08:00
parent d31f70c87c
commit ab42f96cff

View File

@ -119,7 +119,6 @@ pub fn group(&self, group: LangItemGroup) -> &[DefId] {
$(
#[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]
}