summary refs log tree commit diff
path: root/tests/ui/include-macros/parent_dir.rs
blob: 5fadff77a37e45332f6ae95799ec0df0906cf12f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ 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
}