Remove an outdated FIXME, change to use the new //! ERROR syntax
This commit is contained in:
parent
663000ce35
commit
360d7c2c1d
@ -1,12 +1,6 @@
|
||||
// FIXME should be in run-pass
|
||||
|
||||
// -*- rust -*-
|
||||
|
||||
// error-pattern: Non-boolean return type
|
||||
|
||||
// this checks that a pred with a non-bool return
|
||||
// type is rejected, even if the pred is never used
|
||||
|
||||
pure fn bad(a: int) -> int { ret 37; }
|
||||
pure fn bad(a: int) -> int { ret 37; } //! ERROR Non-boolean return type
|
||||
|
||||
fn main() { }
|
||||
|
Loading…
Reference in New Issue
Block a user