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
/
common-fields-trivial.rs
15 lines
128 B
Rust
Raw
Normal View
History
Unescape
Escape
libsyntax: Parse common enum fields
2012-08-08 21:51:19 -05:00
enum
Foo
{
struct
{
Convert field terminators to commas. Stop parsing semis.
2012-09-07 16:50:47 -05:00
x
:
int
,
y
:
int
,
libsyntax: Parse common enum fields
2012-08-08 21:51:19 -05:00
}
Bar
(
int
)
,
Baz
(
int
)
}
fn
main
(
)
{
let
x
=
Bar
(
3
)
;
}
Reference in New Issue
Copy Permalink