]> git.lizzy.rs Git - rust.git/blob - src/test/ui/regions/regions-in-enums-anon.stderr
Rollup merge of #97317 - GuillaumeGomez:gui-settings-text-click, r=jsha
[rust.git] / src / test / ui / regions / regions-in-enums-anon.stderr
1 error[E0106]: missing lifetime specifier
2   --> $DIR/regions-in-enums-anon.rs:4:9
3    |
4 LL |     Bar(&isize)
5    |         ^ expected named lifetime parameter
6    |
7 help: consider introducing a named lifetime parameter
8    |
9 LL ~ enum Foo<'a> {
10 LL ~     Bar(&'a isize)
11    |
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0106`.