rust/tests/ui/macros/not-utf8.rs
2024-10-30 16:47:47 -07:00

8 lines
163 B
Rust

//@ error-pattern: did not contain valid UTF-8
//@ reference: input.encoding.utf8
//@ reference: input.encoding.invalid
fn foo() {
include!("not-utf8.bin")
}