Open
Description
Example, run-pass\mod_file_with_path_attr.rs
:
#[path = "mod_file_aux.rs"] // <- can't find this file when compiling pretty-printing tests
mod m;
pub fn main() {
assert_eq!(m::foo(), 10);
}
Test runner needs to somehow provide a source directory when compiling tests, so out-of-line modules could be successfully resolved.