提交 360d7c2c 编写于 作者: T Tim Chevalier

Remove an outdated FIXME, change to use the new //! ERROR syntax

上级 663000ce
// 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() { }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册