]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/mod_file_with_path_attr.rs
Account for ADT bodies and struct expressions
[rust.git] / src / test / ui / parser / mod_file_with_path_attr.rs
1 // normalize-stderr-test: "not_a_real_file.rs:.*\(" -> "not_a_real_file.rs: $$FILE_NOT_FOUND_MSG ("
2
3 #[path = "not_a_real_file.rs"]
4 mod m; //~ ERROR not_a_real_file.rs
5
6 fn main() {
7     assert_eq!(m::foo(), 10);
8 }