This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
09b9447eb6
rust
/
src
/
test
/
run-pass
/
move-nullary-fn.rs
10 lines
110 B
Rust
Raw
Normal View
History
Unescape
Escape
Add tests for moving nullary functions I believe this was fixed by marijn recently. Closes #922
2011-09-19 21:02:53 -05:00
// Issue #922
deprecate fn exprs and the fn() type, preferring fn@ and native fn
2012-01-11 11:58:05 -06:00
fn
f2
(
-
thing
:
fn
@
(
)
)
{
}
Add tests for moving nullary functions I believe this was fixed by marijn recently. Closes #922
2011-09-19 21:02:53 -05:00
deprecate fn exprs and the fn() type, preferring fn@ and native fn
2012-01-11 11:58:05 -06:00
fn
f
(
-
thing
:
fn
@
(
)
)
{
f2
(
thing
)
;
}
Add tests for moving nullary functions I believe this was fixed by marijn recently. Closes #922
2011-09-19 21:02:53 -05:00
fn
main
(
)
{
deprecate fn exprs and the fn() type, preferring fn@ and native fn
2012-01-11 11:58:05 -06:00
f
(
fn
@
(
)
{
}
)
;
Add tests for moving nullary functions I believe this was fixed by marijn recently. Closes #922
2011-09-19 21:02:53 -05:00
}
Reference in New Issue
Copy Permalink