]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/public-instead-of-pub-2.stderr
Account for ADT bodies and struct expressions
[rust.git] / src / test / ui / parser / public-instead-of-pub-2.stderr
1 error: expected one of `!` or `::`, found keyword `let`
2   --> $DIR/public-instead-of-pub-2.rs:4:8
3    |
4 LL | public let x = 1;
5    |        ^^^ expected one of `!` or `::`
6
7 error: aborting due to previous error
8