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-05-01 20:47:36 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
901b340c1f
rust
/
tests
/
ui
/
array-slice-vec
/
vec-macro-with-comma-only.rs
4 lines
63 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
(
)
{
Tweak more warnings. Much like the previous commit. I think the removal of "the token" in each message is fine here. There are many more error messages that mention tokens without saying "the token" than those that do say it.
2024-06-25 02:52:15 +00:00
vec!
[
,
]
;
//~ ERROR no rules expected `,`
std: make vec!() macro handle a trailing comma Fixes #12910.
2014-04-03 07:40:56 +00:00
}
Reference in New Issue
Copy Permalink