mirror of
				https://git.proxmox.com/git/rustc
				synced 2025-11-04 03:17:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			335 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			335 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// run-rustfix
 | 
						|
 | 
						|
fn main() {
 | 
						|
    let foo =
 | 
						|
        match //~ NOTE while parsing this `match` expression
 | 
						|
        Some(4).unwrap_or(5)
 | 
						|
        //~^ NOTE expected one of `.`, `?`, `{`, or an operator
 | 
						|
        ; //~ NOTE unexpected token
 | 
						|
        //~^ ERROR expected one of `.`, `?`, `{`, or an operator, found `;`
 | 
						|
 | 
						|
    println!("{}", foo)
 | 
						|
}
 |