1 error: expected one of `(`, `const`, `default`, `extern`, `fn`, `type`, or `unsafe`, found `}`
2 --> $DIR/issue-41155.rs:13:1
5 | - expected one of 7 possible tokens here
9 error[E0412]: cannot find type `S` in this scope
10 --> $DIR/issue-41155.rs:11:6
13 | ^ not found in this scope
15 error: main function not found
17 error: aborting due to previous error(s)