about summary refs log tree commit diff
path: root/tests/run-make/rustdoc-test-args
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2024-06-06 21:34:34 +0200
committerJakub Beránek <berykubik@gmail.com>2024-06-07 11:12:24 +0200
commitd86c9819087fbc64b7d0a638b2fd8584831bb661 (patch)
treed5b0e3ae2f0816945d3712b9986f9b022af529bf /tests/run-make/rustdoc-test-args
parent94ccb9b34d5cd9472bd2651055efb6a75d6649c8 (diff)
downloadrust-d86c9819087fbc64b7d0a638b2fd8584831bb661.tar.gz
rust-d86c9819087fbc64b7d0a638b2fd8584831bb661.zip
Remove all usages of `tmp_dir` from tests
Diffstat (limited to 'tests/run-make/rustdoc-test-args')
-rw-r--r--tests/run-make/rustdoc-test-args/rmake.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/run-make/rustdoc-test-args/rmake.rs b/tests/run-make/rustdoc-test-args/rmake.rs
index 66f3f7cf131..340ab022880 100644
--- a/tests/run-make/rustdoc-test-args/rmake.rs
+++ b/tests/run-make/rustdoc-test-args/rmake.rs
@@ -1,4 +1,4 @@
-use run_make_support::{rustdoc, tmp_dir};
+use run_make_support::rustdoc;
 use std::path::Path;
 use std::{fs, iter};
 
@@ -8,8 +8,8 @@ fn generate_a_lot_of_cfgs(path: &Path) {
 }
 
 fn main() {
-    let arg_file = tmp_dir().join("args");
+    let arg_file = Path::new("args");
     generate_a_lot_of_cfgs(&arg_file);
 
-    rustdoc().out_dir(tmp_dir()).input("foo.rs").arg_file(&arg_file).arg("--test").run();
+    rustdoc().input("foo.rs").arg_file(&arg_file).arg("--test").run();
 }