Skip to content

Commit 21b6ac4

Browse files
authored
Rollup merge of rust-lang#149133 - fluiderson:rustdoc-json-unused, r=chenyukang
Remove an unused variable Deleted lines are duplicates of the lines [38 & 39](https://github.com/rust-lang/rust/blob/683dd08db5808c41baceef49368fc82a6c4767bb/src/tools/compiletest/src/runtest/rustdoc_json.rs#L38-L39).
2 parents df178d9 + c8ba2a5 commit 21b6ac4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/tools/compiletest/src/runtest/rustdoc_json.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ impl TestCx<'_> {
1818
self.fatal_proc_rec("rustdoc failed!", &proc_res);
1919
}
2020

21-
let mut json_out = out_dir.join(self.testpaths.file.file_stem().unwrap());
22-
json_out.set_extension("json");
2321
let res = self.run_command_to_procres(
2422
Command::new(self.config.jsondocck_path.as_ref().unwrap())
2523
.arg("--doc-dir")

0 commit comments

Comments
 (0)