]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/print/pprust.rs
auto merge of #10696 : fhahn/rust/issue9543-remove-extern-mod-foo, r=pcwalton
[rust.git] / src / libsyntax / print / pprust.rs
index 960e28ca84f8fc81658e4cd485933c059ec5c685..79ef9c2cbbea5b3f7b84e91a6a5d5af61fff6b69 100644 (file)
@@ -1952,7 +1952,7 @@ pub fn print_view_item(s: @ps, item: &ast::view_item) {
     print_outer_attributes(s, item.attrs);
     print_visibility(s, item.vis);
     match item.node {
-        ast::view_item_extern_mod(id, ref optional_path, ref mta, _) => {
+        ast::view_item_extern_mod(id, ref optional_path, _) => {
             head(s, "extern mod");
             print_ident(s, id);
             for &(ref p, style) in optional_path.iter() {
@@ -1961,11 +1961,6 @@ pub fn print_view_item(s: @ps, item: &ast::view_item) {
                 space(s.s);
                 print_string(s, *p, style);
             }
-            if !mta.is_empty() {
-                popen(s);
-                commasep(s, consistent, *mta, |p, &i| print_meta_item(p, i));
-                pclose(s);
-            }
         }
 
         ast::view_item_use(ref vps) => {