We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rustdoc_json
1 parent a375d1d commit 4d0cb42Copy full SHA for 4d0cb42
src/tools/compiletest/src/runtest/rustdoc_json.rs
@@ -16,13 +16,12 @@ impl TestCx<'_> {
16
self.fatal_proc_rec("rustdoc failed!", &proc_res);
17
}
18
19
- let root = self.config.find_rust_src_root().unwrap();
20
let mut json_out = out_dir.join(self.testpaths.file.file_stem().unwrap());
21
json_out.set_extension("json");
22
let res = self.run_command_to_procres(
23
Command::new(self.config.jsondocck_path.as_ref().unwrap())
24
.arg("--doc-dir")
25
- .arg(root.join(&out_dir))
+ .arg(&out_dir)
26
.arg("--template")
27
.arg(&self.testpaths.file),
28
);
0 commit comments