summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/public-instead-of-pub-2.stderr
blob: efe225656fd7f02e491162989075e21ecfe5592b (plain)
1
2
3
4
5
6
7
8
error: expected one of `!` or `::`, found keyword `let`
  --> $DIR/public-instead-of-pub-2.rs:4:8
   |
LL | public let x = 1;
   |        ^^^ expected one of `!` or `::`

error: aborting due to previous error