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
/
issue-3037.rs
12 lines
86 B
Rust
Raw
Normal View
History
Unescape
Escape
Make alts on uninhabited enum types typecheck and translate properly Possibly one of the silliest Rust commits ever. Closes #3037
2012-07-27 15:13:03 -05:00
enum
what
{
}
fn
what_to_str
(
x
:
what
)
->
~
str
{
Convert alt to match. Stop parsing alt
2012-08-06 14:34:08 -05:00
match
x
{
Make alts on uninhabited enum types typecheck and translate properly Possibly one of the silliest Rust commits ever. Closes #3037
2012-07-27 15:13:03 -05:00
}
}
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink