This repository was archived by the owner on May 28, 2025. It is now read-only.
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
2828run-make/incr-foreign-head-span/Makefile
2929run-make/interdependent-c-libraries/Makefile
3030run-make/issue-107094/Makefile
31- run-make/issue-14698/Makefile
3231run-make/issue-15460/Makefile
3332run-make/issue-33329/Makefile
3433run-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