rust/src/test/ui/pub/pub-ident-struct.stderr

13 lines
246 B
Plaintext
Raw Normal View History

error: missing `struct` for struct definition
2018-12-25 09:56:47 -06:00
--> $DIR/pub-ident-struct.rs:1:4
|
2018-02-22 18:42:32 -06:00
LL | pub S {
| ^
help: add `struct` here to parse `S` as a public struct
|
2018-02-24 17:01:39 -06:00
LL | pub struct S {
| ^^^^^^
error: aborting due to previous error