mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			311 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			311 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
//@ proc-macro: invalid-punct-ident.rs
 | 
						|
//@ needs-unwind proc macro panics to report errors
 | 
						|
 | 
						|
#[macro_use]
 | 
						|
extern crate invalid_punct_ident;
 | 
						|
 | 
						|
lexer_failure!();
 | 
						|
//~^ ERROR proc macro panicked
 | 
						|
//~| ERROR unexpected closing delimiter: `)`
 | 
						|
 | 
						|
fn main() {
 | 
						|
    let _recovery_witness: () = 0; //~ ERROR mismatched types
 | 
						|
}
 |