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
f2f6bcc499
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 02:40:56 -05: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 09:23:59 -05:00
vec!
[
,
]
;
//~ ERROR no rules expected the token `,`
std: make vec!() macro handle a trailing comma Fixes #12910.
2014-04-03 02:40:56 -05:00
}
Reference in New Issue
Copy Permalink