mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			215 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			215 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
macro_rules! foo()  //~ ERROR semicolon
 | 
						|
                    //~| ERROR unexpected end of macro
 | 
						|
 | 
						|
macro_rules! bar {
 | 
						|
    ($($tokens:tt)*) => {}
 | 
						|
}
 | 
						|
 | 
						|
bar!( //~ ERROR semicolon
 | 
						|
    blah
 | 
						|
    blah
 | 
						|
    blah
 | 
						|
)
 | 
						|
 | 
						|
fn main() {
 | 
						|
}
 |