From 96566276e3ed0bfcdc4816ec6c90307a4569cfb7 Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Mon, 30 Oct 2017 07:39:28 +1300 Subject: [PATCH] Fix build Fixes #2096 --- src/items.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/items.rs b/src/items.rs index 562986da6a9..25ed376f277 100644 --- a/src/items.rs +++ b/src/items.rs @@ -2740,6 +2740,8 @@ impl Rewrite for ast::ForeignItem { format!("{}{}{};", prefix, sep, ty_str) }) } + // FIXME(#2097) support extern types. + ast::ForeignItemKind::Ty => unimplemented!(), }?; let missing_span = if self.attrs.is_empty() {