This website requires JavaScript.
Explore
Help
Sign in
mathieu
/
os-rust
Watch
1
Star
0
Fork
You've already forked os-rust
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
1
975f8b5e32
os-rust
/
src
/
test
/
ui
/
parser
/
pat-tuple-2.rs
6 lines
112 B
Rust
Raw
Normal View
History
Unescape
Escape
Add compile-fail tests for error codes
2016-05-12 15:17:02 +02:00
fn
main
(
)
{
Implement `..` in tuple (struct) patterns
2016-03-06 15:54:44 +03:00
match
0
{
Support parentheses in patterns under feature gate Improve recovery for trailing comma after `..`
2018-02-24 15:27:06 +03:00
(
pat
,
..
,
)
=
>
{
}
//~ ERROR trailing comma is not permitted after `..`
Add compile-fail tests for error codes
2016-05-12 15:17:02 +02:00
}
}
Reference in a new issue
Copy permalink