fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
467 B14 linesraw
1error[E0106]: missing lifetime specifier
2  --> $DIR/issue-61124-anon-lifetime-in-struct-declaration.rs:8:19
3   |
4LL | struct Heartbreak(Betrayal);
5   |                   ^^^^^^^^ expected named lifetime parameter
6   |
7help: consider introducing a named lifetime parameter
8   |
9LL | struct Heartbreak<'a>(Betrayal<'a>);
10   |                  ^^^^ ^^^^^^^^^^^^
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0106`.