]> git.lizzy.rs Git - rust.git/blob - tests/ui/regions/regions-in-enums.stderr
internally change regions to be covariant
[rust.git] / tests / ui / regions / regions-in-enums.stderr
1 error[E0261]: use of undeclared lifetime name `'foo`
2   --> $DIR/regions-in-enums.rs:13:9
3    |
4 LL | enum No0 {
5    |         - help: consider introducing lifetime `'foo` here: `<'foo>`
6 LL |     X5(&'foo usize)
7    |         ^^^^ undeclared lifetime
8
9 error[E0261]: use of undeclared lifetime name `'a`
10   --> $DIR/regions-in-enums.rs:17:9
11    |
12 LL | enum No1 {
13    |         - help: consider introducing lifetime `'a` here: `<'a>`
14 LL |     X6(&'a usize)
15    |         ^^ undeclared lifetime
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0261`.