middle: lang_items: allow dead code
This commit is contained in:
parent
35c98a8378
commit
393bc08762
@ -96,6 +96,7 @@ impl LanguageItems {
|
||||
}
|
||||
|
||||
$(
|
||||
#[allow(dead_code)]
|
||||
pub fn $method(&self) -> Option<ast::DefId> {
|
||||
*self.items.get($variant as uint)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user