2018-07-03 12:38:14 -05:00
|
|
|
error: expected one of `(`, `async`, `const`, `default`, `existential`, `extern`, `fn`, `type`, or `unsafe`, found `}`
|
2017-04-09 18:28:31 -05:00
|
|
|
--> $DIR/issue-41155.rs:13:1
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | pub
|
2018-07-03 12:38:14 -05:00
|
|
|
| - expected one of 9 possible tokens here
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | } //~ 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
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | impl S { //~ ERROR cannot find type
|
2017-04-13 14:37:05 -05:00
|
|
|
| ^ not found in this scope
|
|
|
|
|
2018-03-12 15:21:43 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2017-04-13 14:37:05 -05:00
|
|
|
|
2018-03-12 15:21:43 -05:00
|
|
|
For more information about this error, try `rustc --explain E0412`.
|