mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 15:05:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			227 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			227 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
fn main() {
 | 
						|
    let x = "\x80"; //~ ERROR out of range hex escape
 | 
						|
    let y = "\xff"; //~ ERROR out of range hex escape
 | 
						|
    let z = "\xe2"; //~ ERROR out of range hex escape
 | 
						|
    let a = b"\x00e2";  // ok because byte literal
 | 
						|
}
 |