blob: 67eed46eaddc3f50e130673525b14baf96718c73 (
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 1 previous error
For more information about this error, try `rustc --explain E0261`.
|