This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
0e3ee39c41
rust
/
src
/
test
/
run-pass
/
drop-on-empty-block-exit.rs
5 lines
89 B
Rust
Raw
Normal View
History
Unescape
Escape
Drop slots on block exits even when blocks have no statements. Part way to fixing bind leakage in rustc.
2010-09-30 16:10:30 -07:00
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 11:19:50 -07:00
tag
t
{
foo
(
@
int
)
;
}
fn
main
(
)
{
auto
tt
=
foo
(
@
10
)
;
alt
(
tt
)
{
case
(
foo
(
?
z
)
)
{
}
}
}
Copy permalink