From 8cc1149130dab62a70e2eea5070d85bff07b1a03 Mon Sep 17 00:00:00 2001 From: Lindsey Kuper Date: Mon, 18 Jun 2012 13:41:52 -0700 Subject: [PATCH] Adding `i` suffixes so cfail tests keep failing after suffix inference --- src/test/compile-fail/fail-type-err.rs | 2 +- src/test/compile-fail/issue-897.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/compile-fail/fail-type-err.rs b/src/test/compile-fail/fail-type-err.rs index d45a7383a82..29bdc877a04 100644 --- a/src/test/compile-fail/fail-type-err.rs +++ b/src/test/compile-fail/fail-type-err.rs @@ -1,2 +1,2 @@ // error-pattern:expected `str` but found `[int]` -fn main() { fail [0]; } +fn main() { fail [0i]; } diff --git a/src/test/compile-fail/issue-897.rs b/src/test/compile-fail/issue-897.rs index 58e8ef4fe53..35a56b255af 100644 --- a/src/test/compile-fail/issue-897.rs +++ b/src/test/compile-fail/issue-897.rs @@ -1,5 +1,5 @@ fn f() -> ! { - ret 42; //! ERROR expected `_|_` but found `int` + ret 42i; //! ERROR expected `_|_` but found `int` fail; //! WARNING unreachable statement } fn main() { }