Skip to content

Commit

Permalink
extern blocks can't be public
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jun 22, 2017
1 parent 73b72c1 commit 1254f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ impl<'a, 'v> Visitor<'v> for Generator<'a> {
self.test_const(&i.ident.to_string(), &ty);
}

ast::ItemKind::ForeignMod(ref fm) if public => {
ast::ItemKind::ForeignMod(ref fm) => {
self.abi = fm.abi;
}

Expand Down

0 comments on commit 1254f45

Please sign in to comment.