1 error[E0261]: use of undeclared lifetime name `'foo`
2 --> $DIR/regions-in-enums.rs:13:9
5 | - help: consider introducing lifetime `'foo` here: `<'foo>`
7 | ^^^^ undeclared lifetime
9 error[E0261]: use of undeclared lifetime name `'a`
10 --> $DIR/regions-in-enums.rs:17:9
13 | - help: consider introducing lifetime `'a` here: `<'a>`
15 | ^^ undeclared lifetime
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0261`.