summary refs log tree commit diff
path: root/src/test/ui/parser/keyword-mod-as-identifier.stderr
blob: 113f7084b31cde61cf6ca704c586309cd9b8df5f (plain)
1
2
3
4
5
6
7
8
error: expected pattern, found keyword `mod`
  --> $DIR/keyword-mod-as-identifier.rs:16:9
   |
LL |     let mod = "foo"; //~ error: expected pattern, found keyword `mod`
   |         ^^^ expected pattern

error: aborting due to previous error