rust/src/test/ui/parser/issue-41155.stderr

23 lines
443 B
Plaintext
Raw Normal View History

2020-02-22 21:49:26 -06:00
error: visibility `pub` not followed by an item
--> $DIR/issue-41155.rs:4:5
|
LL | pub
2020-02-22 21:49:26 -06:00
| ^^^ the 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
|
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 | }
| ^
| |
| non-item starts here
| item list ends here
error: aborting due to 2 previous errors