mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			244 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			244 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
error: keyword `catch` cannot follow a `try` block
 | 
						|
  --> $DIR/try-block-catch.rs:8:7
 | 
						|
   |
 | 
						|
LL |     } catch { };
 | 
						|
   |       ^^^^^
 | 
						|
   |
 | 
						|
   = help: try using `match` on the result of the `try` block instead
 | 
						|
 | 
						|
error: aborting due to previous error
 | 
						|
 |