Skip to content

Commit 32438e8

Browse files
committed
Fix the error-pattern in compile-fail/bad-main.rs. Un-XFAIL
This is also tested by compile-fail/main-wrong-type.rs but the type signatures are slightly different, so I guess it's worth holding on to.
1 parent 7b337e3 commit 32438e8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/test/compile-fail/bad-main.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// xfail-stage1
2-
// xfail-stage2
3-
// xfail-stage3
4-
// error-pattern: bad type signature
1+
// error-pattern:Wrong type in main function
52

63
fn main(x: int) { }

0 commit comments

Comments
 (0)