mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			200 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			200 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // Test that we can recover from mismatched braces in the parser.
 | |
| 
 | |
| trait Foo {
 | |
|     fn bar() {
 | |
|         let x = foo();
 | |
|     ) //~ ERROR mismatched closing delimiter: `)`
 | |
| }
 | |
| 
 | |
| fn main() {
 | |
|     let x = y.;
 | |
| }
 | 
