Skip to content

Commit dd6e386

Browse files
committed
Fix ICE test in compiletest fail-tests
1 parent cf0cdc4 commit dd6e386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ actual:\n\
978978

979979
fn check_no_compiler_crash(&self, proc_res: &ProcRes) {
980980
for line in proc_res.stderr.lines() {
981-
if line.starts_with("error: internal compiler error:") {
981+
if line.contains("error: internal compiler error") {
982982
self.fatal_proc_rec("compiler encountered internal error", proc_res);
983983
}
984984
}

0 commit comments

Comments
 (0)