This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-02-18 18:04:13 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
975f8b5e32
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 13:17:02 +00:00
fn
main
(
)
{
Implement `..` in tuple (struct) patterns
2016-03-06 12:54:44 +00:00
match
0
{
Support parentheses in patterns under feature gate Improve recovery for trailing comma after `..`
2018-02-24 12:27:06 +00:00
(
pat
,
..
,
)
=
>
{
}
//~ ERROR trailing comma is not permitted after `..`
Add compile-fail tests for error codes
2016-05-12 13:17:02 +00:00
}
}
Reference in New Issue
Copy Permalink