Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
e5565b1aaa6ec4a0edb08d2bcb09cf4bdae01b6d
rust/tests/ui/array-slice-vec/vec-macro-with-comma-only.rs

4 lines
73 B
Rust
Raw Normal View History

std: make vec!() macro handle a trailing comma Fixes #12910.
2014-04-03 16:40:56 +09: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 22:23:59 +08:00
vec![,]; //~ ERROR no rules expected the token `,`
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: 5960ms Template: 4ms
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