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
/
compile-fail
/
alt-arrows-block-then-binop.rs
7 lines
91 B
Rust
Raw
Normal View
History
Unescape
Escape
syntax: Allow any block-like expr to be used as alt arm w/o comma separator
2012-08-01 18:16:53 -05:00
fn
main
(
)
{
Convert alt to match. Stop parsing alt
2012-08-06 14:34:08 -05:00
match
0
{
syntax: Allow any block-like expr to be used as alt arm w/o comma separator
2012-08-01 18:16:53 -05:00
0
=
>
{
}
+
5
//~ ERROR unexpected token: `+`
}
}
Reference in New Issue
Copy Permalink