mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			202 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			202 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ reference: input.encoding.utf8
 | |
| //@ reference: input.encoding.invalid
 | |
| 
 | |
| fn foo() {
 | |
|     include!("not-utf8.bin");
 | |
|     //~^ ERROR couldn't read `$DIR/not-utf8.bin`: stream did not contain valid UTF-8
 | |
| }
 | 
