about summary refs log tree commit diff
path: root/tests/run-make/exit-code
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/exit-code
parent94ccb9b34d5cd9472bd2651055efb6a75d6649c8 (diff)
downloadrust-d86c9819087fbc64b7d0a638b2fd8584831bb661.tar.gz
rust-d86c9819087fbc64b7d0a638b2fd8584831bb661.zip
Remove all usages of `tmp_dir` from tests
Diffstat (limited to 'tests/run-make/exit-code')
-rw-r--r--tests/run-make/exit-code/rmake.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-make/exit-code/rmake.rs b/tests/run-make/exit-code/rmake.rs
index 76d7777581b..6bf7a232642 100644
--- a/tests/run-make/exit-code/rmake.rs
+++ b/tests/run-make/exit-code/rmake.rs
@@ -1,6 +1,6 @@
 // Test that we exit with the correct exit code for successful / unsuccessful / ICE compilations
 
-use run_make_support::{rustc, rustdoc, tmp_dir};
+use run_make_support::{rustc, rustdoc};
 
 fn main() {
     rustc().arg("success.rs").run();
@@ -15,7 +15,7 @@ fn main() {
         .arg("compile-error.rs")
         .run_fail_assert_exit_code(101);
 
-    rustdoc().arg("success.rs").output(tmp_dir().join("exit-code")).run();
+    rustdoc().arg("success.rs").output("exit-code").run();
 
     rustdoc().arg("--invalid-arg-foo").run_fail_assert_exit_code(1);