File tree Expand file tree Collapse file tree 4 files changed +18
-5
lines changed Expand file tree Collapse file tree 4 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ run-make/incr-add-rust-src-component/Makefile
28
28
run-make/incr-foreign-head-span/Makefile
29
29
run-make/interdependent-c-libraries/Makefile
30
30
run-make/issue-107094/Makefile
31
- run-make/issue-14698/Makefile
32
31
run-make/issue-15460/Makefile
33
32
run-make/issue-33329/Makefile
34
33
run-make/issue-35164/Makefile
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ // When the TMP or TMPDIR variable is set to an invalid or non-existing directory,
2
+ // this used to cause an internal compiler error (ICE). After the addition of proper
3
+ // error handling in #28430, this test checks that the expected message is printed.
4
+ // See https://github.com/rust-lang/rust/issues/14698
5
+
6
+ use run_make_support::rustc;
7
+
8
+ // NOTE: This is not a UI test despite its simplicity, as the error message contains a path
9
+ // with some variability that is difficult to normalize
10
+
11
+ fn main() {
12
+ rustc()
13
+ .input("foo.rs")
14
+ .env("TMP", "fake")
15
+ .env("TMPDIR", "fake")
16
+ .run_fail()
17
+ .assert_stderr_contains("couldn't create a temp dir");
18
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments