2020-02-22 01:16:39 -06:00
|
|
|
error: unmatched visibility `pub`
|
|
|
|
--> $DIR/issue-41155.rs:4:5
|
|
|
|
|
|
|
|
|
LL | pub
|
|
|
|
| ^^^ the unmatched visibility
|
|
|
|
|
|
|
|
|
= help: you likely meant to define an item, e.g., `pub fn foo() {}`
|
|
|
|
|
|
|
|
error: non-item in item list
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-41155.rs:5:1
|
2017-04-09 18:28:31 -05:00
|
|
|
|
|
2020-02-22 01:16:39 -06:00
|
|
|
LL | impl S {
|
|
|
|
| - item list starts here
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | pub
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | }
|
2020-02-22 01:16:39 -06:00
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| non-item starts here
|
|
|
|
| item list ends here
|
2017-04-09 18:28:31 -05:00
|
|
|
|
2020-02-22 01:16:39 -06:00
|
|
|
error: aborting due to 2 previous errors
|
2017-04-13 14:37:05 -05:00
|
|
|
|