diff options
| author | Luqman Aden <laden@csclub.uwaterloo.ca> | 2014-10-14 21:07:11 -0400 |
|---|---|---|
| committer | Luqman Aden <laden@csclub.uwaterloo.ca> | 2014-10-16 11:15:34 -0400 |
| commit | 38aca17c474321e4c260e36f173275a90d753397 (patch) | |
| tree | 511685ac0b7fcf16abbb7c2ba790f8f81c59d54e /src/test/compile-fail/liveness-closure-require-ret.rs | |
| parent | b6e0d3a5bf4c88650a22f605f822e02c6b163580 (diff) | |
| download | rust-38aca17c474321e4c260e36f173275a90d753397.tar.gz rust-38aca17c474321e4c260e36f173275a90d753397.zip | |
Remove libdebug and update tests.
Diffstat (limited to 'src/test/compile-fail/liveness-closure-require-ret.rs')
| -rw-r--r-- | src/test/compile-fail/liveness-closure-require-ret.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/compile-fail/liveness-closure-require-ret.rs b/src/test/compile-fail/liveness-closure-require-ret.rs index 65856c5250c..6466310eb4d 100644 --- a/src/test/compile-fail/liveness-closure-require-ret.rs +++ b/src/test/compile-fail/liveness-closure-require-ret.rs @@ -8,7 +8,5 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -extern crate debug; - fn force(f: || -> int) -> int { f() } -fn main() { println!("{:?}", force(|| {})); } //~ ERROR mismatched types +fn main() { println!("{}", force(|| {})); } //~ ERROR mismatched types |
