diff options
| author | Seth Pink <sethpink@gmail.com> | 2013-02-17 12:41:45 +1000 |
|---|---|---|
| committer | Seth Pink <sethpink@gmail.com> | 2013-02-17 12:41:45 +1000 |
| commit | 60bd4a5385ae39085d82a89ac6bc7bb9cd9b200b (patch) | |
| tree | b3a6e8629f16bf2cfb8503886baf6f20fe5cc9f9 /src/test/compile-fail | |
| parent | 1f4c758f9b4d92a209bb1a11b11ac937ad76d161 (diff) | |
| download | rust-60bd4a5385ae39085d82a89ac6bc7bb9cd9b200b.tar.gz rust-60bd4a5385ae39085d82a89ac6bc7bb9cd9b200b.zip | |
Removed more capture claueses.
Diffstat (limited to 'src/test/compile-fail')
| -rw-r--r-- | src/test/compile-fail/kindck-nonsendable-1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/kindck-nonsendable-1.rs b/src/test/compile-fail/kindck-nonsendable-1.rs index c88dae232fa..397b0f682d6 100644 --- a/src/test/compile-fail/kindck-nonsendable-1.rs +++ b/src/test/compile-fail/kindck-nonsendable-1.rs @@ -13,6 +13,6 @@ fn foo(_x: @uint) {} fn main() { let x = @3u; let _ = fn~() { foo(x); }; //~ ERROR value has non-owned type `@uint` - let _ = fn~(copy x) { foo(x); }; //~ ERROR value has non-owned type `@uint` + let _ = fn~() { foo(x); }; //~ ERROR value has non-owned type `@uint` let _ = fn~() { foo(x); }; //~ ERROR value has non-owned type `@uint` } |
