2017-04-09 18:28:31 -05:00
|
|
|
error: expected one of `(`, `const`, `default`, `extern`, `fn`, `type`, or `unsafe`, found `}`
|
|
|
|
--> $DIR/issue-41155.rs:13:1
|
|
|
|
|
|
|
|
|
12 | pub
|
|
|
|
| - expected one of 7 possible tokens here
|
2017-11-20 06:13:27 -06:00
|
|
|
13 | } //~ ERROR expected one of
|
2017-04-09 18:28:31 -05:00
|
|
|
| ^ unexpected token
|
|
|
|
|
2017-04-13 14:37:05 -05:00
|
|
|
error[E0412]: cannot find type `S` in this scope
|
|
|
|
--> $DIR/issue-41155.rs:11:6
|
|
|
|
|
|
2017-11-20 06:13:27 -06:00
|
|
|
11 | impl S { //~ ERROR cannot find type
|
2017-04-13 14:37:05 -05:00
|
|
|
| ^ not found in this scope
|
|
|
|
|
2017-05-29 11:46:29 -05:00
|
|
|
error[E0601]: main function not found
|
2017-04-13 14:37:05 -05:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to 3 previous errors
|
2017-04-09 18:28:31 -05:00
|
|
|
|