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-pass
/
simple-generic-alt.rs
6 lines
85 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
rustc: Make the pretty printer output commas after enum variants. Update all tests accordingly.
2012-01-19 20:31:08 -06:00
enum
clam
<
T
>
{
a
(
T
)
,
}
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
Convert alt to match. Stop parsing alt
2012-08-06 14:34:08 -05:00
fn
main
(
)
{
let
c
=
a
(
2
)
;
match
c
{
a
::
<
int
>
(
_
)
=
>
{
}
}
}
Reference in New Issue
Copy Permalink