blob: 976f037062dd9a45cdc34bff3e6b18a226b3d36d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0261]: use of undeclared lifetime name `'a`
--> $DIR/unresolved_lifetimes_error.rs:5:13
|
LL | fn foo() -> [(); {
| - help: consider introducing lifetime `'a` here: `<'a>`
LL | let a: &'a ();
| ^^ undeclared lifetime
error: aborting due to previous error
For more information about this error, try `rustc --explain E0261`.
|