mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
Fix tidy.
This commit is contained in:
@@ -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)) |
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#![crate_type = "lib"]
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! declare {
|
||||
macro_rules! declare {
|
||||
() => (
|
||||
pub fn aaa() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user