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
rust
/
src
/
test
/
run-pass
/
binary-minus-without-space.rs
7 lines
105 B
Rust
Raw
Normal View
History
Unescape
Escape
Make 1-1 parse again Issue #954 This is not a very elegant fix -- we should probably do something with constant folding to handle negative-int alt patterns in the future.
2011-10-07 16:22:53 +02:00
// Check that issue #954 stays fixed
fn
main
(
)
{
Convert alt to match. Stop parsing alt
2012-08-06 12:34:08 -07:00
match
check
-
1
{
-
1
=
>
{
}
}
Make 1-1 parse again Issue #954 This is not a very elegant fix -- we should probably do something with constant folding to handle negative-int alt patterns in the future.
2011-10-07 16:22:53 +02:00
assert
1
-
1
=
=
0
;
}
Reference in New Issue
Copy Permalink