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
2
Packages
Projects
Releases
Wiki
Activity
Files
master
rust
/
tests
/
ui
/
array-slice-vec
/
vec-macro-with-comma-only.rs
4 lines
63 B
Rust
Raw
Permalink
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
(
)
{
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 12:52:15 +10:00
vec!
[
,
]
;
//~ ERROR no rules expected `,`
std: make vec!() macro handle a trailing comma Fixes #12910.
2014-04-03 16:40:56 +09:00
}
Reference in New Issue
Copy Permalink