mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
test: Fix compile-fail tests
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
// xfail-fast
|
||||
// xfail-test
|
||||
|
||||
// This is xfail'd due to bad typecheck error messages. (There is a spurious
|
||||
// "expected `bool` but but found `int`" message.)
|
||||
|
||||
fn f(f: fn@(int) -> bool) -> bool { f(10i) }
|
||||
|
||||
fn main() {
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
// xfail-fast
|
||||
// xfail-test
|
||||
|
||||
// This is xfail'd due to bad spurious typecheck error messages.
|
||||
|
||||
fn main() {
|
||||
fn f() { }
|
||||
fn g(i: int) { }
|
||||
|
||||
Reference in New Issue
Block a user