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
97452c0ca1
rust
/
src
/
test
/
run-fail
/
unwind-tup.rs
10 lines
111 B
Rust
Raw
Normal View
History
Unescape
Escape
Register tuple cleanups after the tuple is built Issue #936
2011-09-19 19:04:04 -05:00
// error-pattern:fail
Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.
2012-06-29 18:26:56 -05:00
fn
fold_local
(
)
->
@
~
[
int
]
{
Register tuple cleanups after the tuple is built Issue #936
2011-09-19 19:04:04 -05:00
fail
;
}
fn
main
(
)
{
let
lss
=
(
fold_local
(
)
,
0
)
;
}
Reference in New Issue
Copy Permalink