-
Couldn't load subscription status.
- Fork 13.9k
Open
Labels
A-prettyArea: Pretty printing (including `-Z unpretty`)Area: Pretty printing (including `-Z unpretty`)A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.
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.
Metadata
Metadata
Assignees
Labels
A-prettyArea: Pretty printing (including `-Z unpretty`)Area: Pretty printing (including `-Z unpretty`)A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.