Skip to content

Commit c3af118

Browse files
committed
Add doc for output_base_name_stage.
1 parent bf816a2 commit c3af118

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/compiletest/src/runtest.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1878,6 +1878,8 @@ impl<'test> TestCx<'test> {
18781878
dir.join(&self.output_testname(&self.testpaths.file))
18791879
}
18801880

1881+
/// Same as `output_base_name`, but includes the stage ID as an extension,
1882+
/// such as: `.../compile-fail/foo/bar.stage1-<triple>`
18811883
fn output_base_name_stage(&self) -> PathBuf {
18821884
self.output_base_name().with_extension(&self.config.stage_id)
18831885
}

0 commit comments

Comments
 (0)