We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74c1ad5 commit f46f923Copy full SHA for f46f923
src/tools/compiletest/src/main.rs
@@ -775,7 +775,7 @@ fn make_test_name(
775
) -> test::TestName {
776
// Print the name of the file, relative to the repository root.
777
// `src_base` looks like `/path/to/rust/tests/ui`
778
- let root_directory = config.src_base.parent().unwrap().parent().unwrap().parent().unwrap();
+ let root_directory = config.src_base.parent().unwrap().parent().unwrap();
779
let path = testpaths.file.strip_prefix(root_directory).unwrap();
780
let debugger = match config.debugger {
781
Some(d) => format!("-{}", d),
0 commit comments