about summary refs log tree commit diff
path: root/tests/ui/parser/mod_file_with_path_attr.rs
blob: b7f4a9c6ae02fe0dde1d5c765f0b47dece4e44da (plain)
1
2
3
4
5
6
7
8
//@ normalize-stderr: "not_a_real_file.rs`:.*\(" -> "not_a_real_file.rs`: $$FILE_NOT_FOUND_MSG ("

#[path = "not_a_real_file.rs"]
mod m; //~ ERROR not_a_real_file.rs

fn main() {
    assert_eq!(m::foo(), 10);
}