2017-04-09 16:28:31 -07:00
|
|
|
error: expected one of `(`, `const`, `default`, `extern`, `fn`, `type`, or `unsafe`, found `}`
|
|
|
|
--> $DIR/issue-41155.rs:13:1
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | pub
|
2017-04-09 16:28:31 -07:00
|
|
|
| - expected one of 7 possible tokens here
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | } //~ ERROR expected one of
|
2017-04-09 16:28:31 -07:00
|
|
|
| ^ unexpected token
|
|
|
|
|
2017-04-13 22:37:05 +03:00
|
|
|
error[E0412]: cannot find type `S` in this scope
|
|
|
|
--> $DIR/issue-41155.rs:11:6
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | impl S { //~ ERROR cannot find type
|
2017-04-13 22:37:05 +03:00
|
|
|
| ^ not found in this scope
|
|
|
|
|
2017-05-29 18:46:29 +02:00
|
|
|
error[E0601]: main function not found
|
2017-04-13 22:37:05 +03:00
|
|
|
|
2017-07-02 13:49:30 +03:00
|
|
|
error: aborting due to 3 previous errors
|
2017-04-09 16:28:31 -07:00
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
Some errors occurred: E0412, E0601.
|
|
|
|
For more information about an error, try `rustc --explain E0412`.
|