1 error: expected one of `(`, `async`, `const`, `default`, `existential`, `extern`, `fn`, `type`, or `unsafe`, found `}`
2 --> $DIR/issue-41155.rs:13:1
5 | - expected one of 9 possible tokens here
6 LL | } //~ ERROR expected one of
9 error[E0412]: cannot find type `S` in this scope
10 --> $DIR/issue-41155.rs:11:6
12 LL | impl S { //~ ERROR cannot find type
13 | ^ not found in this scope
15 error: aborting due to 2 previous errors
17 For more information about this error, try `rustc --explain E0412`.