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
rust
/
src
/
test
/
run-pass
/
generic-drop-glue.rs
6 lines
87 B
Rust
Raw
Normal View
History
Unescape
Escape
Populate tree.
2010-06-23 21:03:09 -07:00
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 11:19:50 -07:00
Update stdlib, compiler, and tests to new kind system This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177
2011-11-18 12:39:20 +01:00
fn
f
<
copy
T
>
(
t
:
T
)
{
let
t1
:
T
=
t
;
}
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 11:19:50 -07:00
Port the tests to the decl foo<T> syntax.
2011-08-12 06:37:25 -07:00
fn
main
(
)
{
let
x
=
{
x
:
@
10
,
y
:
@
12
}
;
f
(
x
)
;
}
Reference in New Issue
Copy Permalink