mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 13:46:03 +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
|
|
}
|