From: Vadim Chugunov Date: Fri, 23 Jan 2015 19:27:16 +0000 (-0800) Subject: Fix tidy. X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=f09c680b4cc9cf9dad5cd0a73ed5dba767b5e925;hp=5c344d3ea8f590739af7ea8b35028a64baf8b296;p=rust.git Fix tidy. --- diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index dbe4241b8e6..d1cd7631c82 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1171,7 +1171,7 @@ pub fn print_tts(&mut self, tts: &[ast::TokenTree]) -> IoResult<()> { } try!(self.print_tt(tt)); // There should be no space between the module name and the following `::` in paths, - // otherwise imported macros get re-parsed from crate metadata incorrectly (issue #20701) + // otherwise imported macros get re-parsed from crate metadata incorrectly (#20701) suppress_space = match tt { &ast::TtToken(_, token::Ident(_, token::ModName)) | &ast::TtToken(_, token::MatchNt(_, _, _, token::ModName)) | diff --git a/src/test/auxiliary/macro_with_super_1.rs b/src/test/auxiliary/macro_with_super_1.rs index ac50be06ef7..fd2e52bb355 100644 --- a/src/test/auxiliary/macro_with_super_1.rs +++ b/src/test/auxiliary/macro_with_super_1.rs @@ -11,7 +11,7 @@ #![crate_type = "lib"] #[macro_export] -macro_rules! declare { +macro_rules! declare { () => ( pub fn aaa() {}