about summary refs log tree commit diff
path: root/src/test/compile-fail/vec-macro-with-comma-only.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-13/+0
2017-07-07Only match a fragment specifier the if it starts with certain tokens.kennytm-1/+1
Fixes #24189. Fixes #26444. Fixes #27832. Fixes #34030. Fixes #35650. Fixes #39964. Fixes the 4th comment in #40569. Fixes the issue blocking #40984.
2016-10-31Changed most vec! invocations to use square bracesiirelu-1/+1
Most of the Rust community agrees that the vec! macro is clearer when called using square brackets [] instead of regular brackets (). Most of these ocurrences are from before macros allowed using different types of brackets. There is one left unchanged in a pretty-print test, as the pretty printer still wants it to have regular brackets.
2016-04-24syntax: Make `is_path_start` precise and improve some error messages about ↵Vadim Petrochenkov-1/+1
unexpected tokens
2014-04-08std: make vec!() macro handle a trailing commaKang Seonghoon-0/+13
Fixes #12910.