diff options
Diffstat (limited to 'tests/ui/parser/do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.rs')
-rw-r--r-- | tests/ui/parser/do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/parser/do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.rs b/tests/ui/parser/do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.rs new file mode 100644 index 000000000..d6f798181 --- /dev/null +++ b/tests/ui/parser/do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.rs @@ -0,0 +1,3 @@ +fn main() { + let _x = vec[1, 2, 3]; //~ ERROR expected one of `.`, `?`, `]`, or an operator +} |