]> git.lizzy.rs Git - rust.git/blob - src/test/ui/token/issue-41155.stderr
96c2d764e7101f2e76760b84fdd69395ba0b762a
[rust.git] / src / test / ui / token / issue-41155.stderr
1 error: expected one of `(`, `const`, `default`, `extern`, `fn`, `type`, or `unsafe`, found `}`
2   --> $DIR/issue-41155.rs:13:1
3    |
4 12 |     pub
5    |        - expected one of 7 possible tokens here
6 13 | }
7    | ^ unexpected token
8
9 error[E0412]: cannot find type `S` in this scope
10   --> $DIR/issue-41155.rs:11:6
11    |
12 11 | impl S {
13    |      ^ not found in this scope
14
15 error: main function not found
16
17 error: aborting due to previous error(s)
18