]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pub/pub-ident-struct-with-lifetime.stderr
Auto merge of #106025 - matthiaskrgr:rollup-vz5rqah, r=matthiaskrgr
[rust.git] / src / test / ui / pub / pub-ident-struct-with-lifetime.stderr
1 error: missing `struct` for struct definition
2   --> $DIR/pub-ident-struct-with-lifetime.rs:1:4
3    |
4 LL | pub S<'a> {
5    |    ^
6    |
7 help: add `struct` here to parse `S` as a public struct
8    |
9 LL | pub struct S<'a> {
10    |     ++++++
11
12 error: aborting due to previous error
13