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 = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
11 error[E0261]: use of undeclared lifetime name `'a`
12 --> $DIR/regions-in-enums.rs:17:9
15 | - help: consider introducing lifetime `'a` here: `<'a>`
17 | ^^ undeclared lifetime
19 = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes
21 error: aborting due to 2 previous errors
23 For more information about this error, try `rustc --explain E0261`.