This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Issues
Pull requests
Activity
b3bbc22cb7
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 a new issue
Copy permalink