fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
273 B13 linesraw
1error: missing `struct` for struct definition
2  --> $DIR/pub-ident-struct-with-lifetime.rs:1:4
3   |
4LL | pub S<'a> {
5   |    ^
6   |
7help: add `struct` here to parse `S` as a public struct
8   |
9LL | pub struct S<'a> {
10   |     ^^^^^^
11
12error: aborting due to previous error
13