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
af21a27002
rust
/
src
/
test
/
run-pass
/
simple-generic-alt.rs
6 lines
77 B
Rust
Raw
Normal View
History
Unescape
Escape
rustc: Have demand_pat() extract type parameters from tags. Add a test case.
2011-03-09 16:09:02 -06:00
Port the tests to the decl foo<T> syntax.
2011-08-12 08:37:25 -05:00
tag
clam
<
T
>
{
a
(
T
)
;
}
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
Port the tests to the decl foo<T> syntax.
2011-08-12 08:37:25 -05:00
fn
main
(
)
{
let
c
=
a
(
2
)
;
alt
c
{
a
[
int
]
(
_
)
{
}
}
}
Reference in New Issue
Copy Permalink