mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			198 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			198 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// Test that we can recover from missing braces in the parser.
 | 
						|
 | 
						|
trait Foo {
 | 
						|
    fn bar() {
 | 
						|
        let x = foo();
 | 
						|
}
 | 
						|
 | 
						|
fn main() {
 | 
						|
    let x = y.;
 | 
						|
} //~ ERROR this file contains an unclosed delimiter
 |