Skip to content

Commit 360d7c2

Browse files
committed
Remove an outdated FIXME, change to use the new //! ERROR syntax
1 parent 663000c commit 360d7c2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/test/run-pass/pred-not-bool.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
// FIXME should be in run-pass
2-
3-
// -*- rust -*-
4-
5-
// error-pattern: Non-boolean return type
6-
71
// this checks that a pred with a non-bool return
82
// type is rejected, even if the pred is never used
93

10-
pure fn bad(a: int) -> int { ret 37; }
4+
pure fn bad(a: int) -> int { ret 37; } //! ERROR Non-boolean return type
115
126
fn main() { }

0 commit comments

Comments
 (0)