diff options
Diffstat (limited to 'tests/ui/parser/better-expected.rs')
-rw-r--r-- | tests/ui/parser/better-expected.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/parser/better-expected.rs b/tests/ui/parser/better-expected.rs new file mode 100644 index 000000000..16b61caa4 --- /dev/null +++ b/tests/ui/parser/better-expected.rs @@ -0,0 +1,3 @@ +fn main() { + let x: [isize 3]; //~ ERROR expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `3` +} |