middle: lang_items: allow dead code

This commit is contained in:
Corey Richardson 2014-04-01 10:26:21 -04:00
parent 35c98a8378
commit 393bc08762

View File

@ -96,6 +96,7 @@ impl LanguageItems {
}
$(
#[allow(dead_code)]
pub fn $method(&self) -> Option<ast::DefId> {
*self.items.get($variant as uint)
}