Files
rust/tests/ui/pub/pub-ident-struct-2.stderr

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

14 lines
275 B
Plaintext
Raw Normal View History

error: missing `struct` for struct definition
--> $DIR/pub-ident-struct-2.rs:4:5
2019-04-19 11:04:41 -07:00
|
LL | pub bar();
| ^^^^^^^
|
help: add `struct` here to parse `bar` as a struct
|
LL | pub struct bar();
| ++++++
2019-04-19 11:04:41 -07:00
error: aborting due to 1 previous error
2019-04-19 11:04:41 -07:00