diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-11-19 18:15:10 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-11-26 08:20:59 -0800 |
| commit | 6801bc8f552ce740deb60212903ba43de197689c (patch) | |
| tree | 78a1648fe19ea8b24fe0eae4472411d531d834ba /src/test/compile-fail/once-cant-call-twice-on-stack.rs | |
| parent | 9e610573ba285619c9a59d8c1468624b6428492c (diff) | |
| download | rust-6801bc8f552ce740deb60212903ba43de197689c.tar.gz rust-6801bc8f552ce740deb60212903ba43de197689c.zip | |
libsyntax: Remove the old-style borrowed closure type syntax from the
language.
Diffstat (limited to 'src/test/compile-fail/once-cant-call-twice-on-stack.rs')
| -rw-r--r-- | src/test/compile-fail/once-cant-call-twice-on-stack.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/once-cant-call-twice-on-stack.rs b/src/test/compile-fail/once-cant-call-twice-on-stack.rs index 9469d123d18..9cc69228c56 100644 --- a/src/test/compile-fail/once-cant-call-twice-on-stack.rs +++ b/src/test/compile-fail/once-cant-call-twice-on-stack.rs @@ -16,7 +16,7 @@ extern mod extra; use extra::arc; use std::util; -fn foo(blk: &once fn()) { +fn foo(blk: once ||) { blk(); blk(); //~ ERROR use of moved value } |
