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
919d5f1c0d
rust
/
src
/
test
/
run-pass
/
vec-in-tup.rs
5 lines
99 B
Rust
Raw
Normal View
History
Unescape
Escape
Split out stratum-checking pass, implement more-strict (overly aggressive) impure-effect checking.
2010-11-02 17:24:46 -05:00
impure
fn
main
(
)
{
Two more testcases for overwriting already-live box-like fields in structures, without leaking.
2010-07-23 14:22:31 -05:00
let
tup
(
mutable
vec
[
int
]
)
i
=
tup
(
mutable
vec
(
1
,
2
,
3
)
)
;
i
.
_0
=
vec
(
4
,
5
,
6
)
;
}
Reference in New Issue
Copy Permalink