2018-11-26 12:11:46 -06:00
|
|
|
error: missing `struct` for struct definition
|
|
|
|
--> $DIR/pub-ident-struct-with-lifetime.rs:1:4
|
|
|
|
|
|
|
|
|
LL | pub S<'a> {
|
|
|
|
| ^
|
2019-10-24 00:20:58 -05:00
|
|
|
|
|
2018-11-26 12:11:46 -06:00
|
|
|
help: add `struct` here to parse `S` as a public struct
|
|
|
|
|
|
|
|
|
LL | pub struct S<'a> {
|
2021-06-21 21:07:19 -05:00
|
|
|
| ++++++
|
2018-11-26 12:11:46 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|