extern mod => extern crate

This was previously implemented, and it just needed a snapshot to go through
This commit is contained in:
Alex Crichton
2014-02-14 10:10:06 -08:00
parent 359ac360a4
commit a41b0c2529
438 changed files with 682 additions and 685 deletions

View File

@@ -2061,7 +2061,7 @@ pub fn print_view_item(s: &mut State, item: &ast::ViewItem) -> io::IoResult<()>
if_ok!(print_visibility(s, item.vis));
match item.node {
ast::ViewItemExternMod(id, ref optional_path, _) => {
if_ok!(head(s, "extern mod"));
if_ok!(head(s, "extern crate"));
if_ok!(print_ident(s, id));
for &(ref p, style) in optional_path.iter() {
if_ok!(space(&mut s.s));