mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			154 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			154 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
//@ edition: 2021
 | 
						|
 | 
						|
async fn asyncfn() {
 | 
						|
    let binding = match true {};
 | 
						|
    //~^ ERROR non-exhaustive patterns: type `bool` is non-empty
 | 
						|
}
 | 
						|
 | 
						|
fn main() {}
 |