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
6969f0f2fc
rust
/
src
/
test
/
run-pass
/
simple-generic-alt.rs
6 lines
80 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
Port the tests to the expr foo::<T> syntax.
2011-08-13 02:10:18 -05:00
fn
main
(
)
{
let
c
=
a
(
2
)
;
alt
c
{
a
::
<
int
>
(
_
)
{
}
}
}
Reference in New Issue
Copy Permalink