From 309fb37f23f1ca0f73d5b3a86b7522ae06f95bc4 Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Fri, 27 Jan 2017 07:42:34 +1300 Subject: [PATCH] Allow some unused fields --- src/items.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/items.rs b/src/items.rs index e8e5dfbc7f5..3a1c70ccb3f 100644 --- a/src/items.rs +++ b/src/items.rs @@ -78,6 +78,7 @@ impl Rewrite for ast::Local { // TODO convert to using rewrite style rather than visitor // TODO format modules in this style +#[allow(dead_code)] struct Item<'a> { keyword: &'static str, abi: String,