Removed more capture claueses.

This commit is contained in:
Seth Pink 2013-02-17 12:41:45 +10:00
parent 1f4c758f9b
commit 60bd4a5385
3 changed files with 5 additions and 5 deletions

View file

@ -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`
}