mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			227 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			227 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| macro_rules! foo {
 | |
|     ($e:expr) => {}
 | |
| }
 | |
| 
 | |
| foo!(1 + @); //~ ERROR expected expression, found `@`
 | |
| foo!(1 + @); //~ ERROR expected expression, found `@`
 | |
| 
 | |
| fn main() {
 | |
|     let _recovery_witness: () = 0; //~ ERROR mismatched types
 | |
| }
 | 
