This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
a201fab20881499d79e5694ee8f195ce50c5b724
rust
/
tests
/
ui
/
array-slice-vec
/
vec-macro-with-comma-only.rs
4 lines
73 B
Rust
Raw
Normal View
History
Unescape
Escape
std: make vec!() macro handle a trailing comma Fixes #12910.
2014-04-03 16:40:56 +09:00
pub
fn
main
(
)
{
Only match a fragment specifier the if it starts with certain tokens. Fixes #24189. Fixes #26444. Fixes #27832. Fixes #34030. Fixes #35650. Fixes #39964. Fixes the 4th comment in #40569. Fixes the issue blocking #40984.
2017-06-26 22:23:59 +08:00
vec!
[
,
]
;
//~ ERROR no rules expected the token `,`
std: make vec!() macro handle a trailing comma Fixes #12910.
2014-04-03 16:40:56 +09:00
}
Reference in New Issue
Copy Permalink