Remove unnecessary #[allow(dead_code)]
This commit is contained in:
parent
d31f70c87c
commit
ab42f96cff
@ -119,7 +119,6 @@ macro_rules! language_item_table {
|
|||||||
|
|
||||||
$(
|
$(
|
||||||
#[doc = concat!("Returns the [`DefId`] of the `", stringify!($name), "` lang item if it is defined.")]
|
#[doc = concat!("Returns the [`DefId`] of the `", stringify!($name), "` lang item if it is defined.")]
|
||||||
#[allow(dead_code)]
|
|
||||||
pub fn $method(&self) -> Option<DefId> {
|
pub fn $method(&self) -> Option<DefId> {
|
||||||
self.items[LangItem::$variant as usize]
|
self.items[LangItem::$variant as usize]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user