rust/tests/ui/parser/issues/issue-41155.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
446 B
Plaintext
Raw Normal View History

2020-02-23 12:54:00 +01:00
error: visibility `pub` is not followed by an item
--> $DIR/issue-41155.rs:4:5
|
LL | pub
2020-02-23 04:49:26 +01: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 08:56:47 -07:00
--> $DIR/issue-41155.rs:5:1
|
LL | impl S {
| - item list starts here
2018-02-23 03:42:32 +03:00
LL | pub
2019-03-09 15:03:44 +03:00
LL | }
| ^
| |
| non-item starts here
| item list ends here
error: aborting due to 2 previous errors