diff options
Diffstat (limited to 'tests/ui/parser/keyword-mut-as-identifier.stderr')
-rw-r--r-- | tests/ui/parser/keyword-mut-as-identifier.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/keyword-mut-as-identifier.stderr b/tests/ui/parser/keyword-mut-as-identifier.stderr new file mode 100644 index 000000000..040960835 --- /dev/null +++ b/tests/ui/parser/keyword-mut-as-identifier.stderr @@ -0,0 +1,8 @@ +error: expected identifier, found `=` + --> $DIR/keyword-mut-as-identifier.rs:2:13 + | +LL | let mut = "foo"; + | ^ expected identifier + +error: aborting due to previous error + |