mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
13 lines
803 B
Rust
13 lines
803 B
Rust
//@ normalize-stderr-test: "`: .*" -> "`: $$FILE_NOT_FOUND_MSG"
|
|
|
|
fn main() {
|
|
let _ = include_str!("include-macros/file.txt"); //~ ERROR couldn't read
|
|
//~^HELP different directory
|
|
let _ = include_str!("hello.rs"); //~ ERROR couldn't read
|
|
//~^HELP different directory
|
|
let _ = include_bytes!("../../data.bin"); //~ ERROR couldn't read
|
|
//~^HELP different directory
|
|
let _ = include_str!("tests/ui/include-macros/file.txt"); //~ ERROR couldn't read
|
|
//~^HELP different directory
|
|
}
|