Fix build

Fixes #2096
This commit is contained in:
Nick Cameron 2017-10-30 07:39:28 +13:00
parent 485ef93e49
commit 96566276e3

View File

@ -2740,6 +2740,8 @@ fn rewrite(&self, context: &RewriteContext, shape: Shape) -> Option<String> {
format!("{}{}{};", prefix, sep, ty_str)
})
}
// FIXME(#2097) support extern types.
ast::ForeignItemKind::Ty => unimplemented!(),
}?;
let missing_span = if self.attrs.is_empty() {