We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[allow(dead_code)]
1 parent d31f70c commit ab42f96Copy full SHA for ab42f96
compiler/rustc_hir/src/lang_items.rs
@@ -119,7 +119,6 @@ macro_rules! language_item_table {
119
120
$(
121
#[doc = concat!("Returns the [`DefId`] of the `", stringify!($name), "` lang item if it is defined.")]
122
- #[allow(dead_code)]
123
pub fn $method(&self) -> Option<DefId> {
124
self.items[LangItem::$variant as usize]
125
}
0 commit comments