diff options
| author | Patrick Walton <[email protected]> | 2010-07-12 19:39:29 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-07-15 18:27:09 -0700 |
| commit | c96f0bf7386081d21b00af4fa7fcf73ac8d79575 (patch) | |
| tree | c006fa1a8d9d817b3ccf60a3874034dce5975e3d /src/test/compile-fail | |
| parent | Remove log-type-error; everything is loggable. (diff) | |
| download | rust-c96f0bf7386081d21b00af4fa7fcf73ac8d79575.tar.xz rust-c96f0bf7386081d21b00af4fa7fcf73ac8d79575.zip | |
Implement the "simple typechecker", which avoids HM inference
Diffstat (limited to 'src/test/compile-fail')
| -rw-r--r-- | src/test/compile-fail/put-in-fn.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/put-in-fn.rs b/src/test/compile-fail/put-in-fn.rs index bb6363ac..9f704bc3 100644 --- a/src/test/compile-fail/put-in-fn.rs +++ b/src/test/compile-fail/put-in-fn.rs @@ -1,8 +1,8 @@ -// error-pattern: Non-iter function +// error-pattern: iterator function fn f() -> int { put 10; } fn main() { -}
\ No newline at end of file +} |