Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Fixes #2096
  • Loading branch information
nrc committed Oct 29, 2017
1 parent 485ef93 commit 9656627
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/items.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 9656627

Please sign in to comment.