rust/tests/ui/pub/pub-ident-struct-3.stderr

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

14 lines
251 B
Plaintext
Raw Normal View History

error: missing `struct` for struct definition
--> $DIR/pub-ident-struct-3.rs:1:1
|
2018-02-23 00:42:32 +00:00
LL | pub S();
| ^^^^^
|
help: add `struct` here to parse `S` as a struct
|
LL | pub struct S();
| ++++++
error: aborting due to 1 previous error