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
12c32e944d
rust
/
src
/
test
/
run-fail
/
unwind-rec.rs
11 lines
117 B
Rust
Raw
Normal View
History
Unescape
Escape
Don't register record cleanups until the record is built
2011-09-19 15:11:26 -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
build
(
)
->
~
[
int
]
{
Don't register record cleanups until the record is built
2011-09-19 15:11:26 -05:00
fail
;
}
fn
main
(
)
{
let
blk
=
{
node
:
build
(
)
}
;
}
Reference in New Issue
Copy Permalink