Logo
Explore Help
Register Sign In
rust-lang/rust
1
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

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
Powered by Gitea Version: 1.24.6 Page: 4138ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API