summaryrefslogtreecommitdiffstats
path: root/tests/ui/pub/pub-ident-struct-with-lifetime.stderr
blob: 562b68e354249982fadbf33f0c525867643b185e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: missing `struct` for struct definition
  --> $DIR/pub-ident-struct-with-lifetime.rs:1:4
   |
LL | pub S<'a> {
   |    ^
   |
help: add `struct` here to parse `S` as a public struct
   |
LL | pub struct S<'a> {
   |     ++++++

error: aborting due to previous error