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-04-29 11:37:39 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
26907374b9
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 07:40:56 +00: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 14:23:59 +00:00
vec!
[
,
]
;
//~ ERROR no rules expected the token `,`
std: make vec!() macro handle a trailing comma Fixes #12910.
2014-04-03 07:40:56 +00:00
}
Reference in New Issue
Copy Permalink