about summary refs log tree commit diff
path: root/tests/ui/include-macros/parent_dir.rs
blob: 9a81a6deeb12b81dc707fd2cc2216a288a4f0f56 (plain)
1
2
3
4
5
6
7
8
9
10
//@ normalize-stderr: "`: .*" -> "`: $$FILE_NOT_FOUND_MSG"

fn main() {
    let _ = include_str!("include-macros/file.txt");            //~ 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
}