Skip to content

Commit 0cd79ee

Browse files
committed
Don't infinitely recurse in a process test
Note entirely sure how this is passing at all today, but regardless this fixes the problems seen in #10790
1 parent 693ec73 commit 0cd79ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/test/run-pass/issue-10626.rs

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ fn main () {
2525
for _ in range(0, 1000) {
2626
println!("hello?");
2727
}
28+
return;
2829
}
2930

3031
let config = process::ProcessConfig {

0 commit comments

Comments
 (0)