1 error[E0261]: use of undeclared lifetime name `'a`
2 --> $DIR/E0261.rs:11:12
4 LL | fn foo(x: &'a str) { } //~ ERROR E0261
5 | ^^ undeclared lifetime
7 error[E0261]: use of undeclared lifetime name `'a`
10 LL | x: &'a str, //~ ERROR E0261
11 | ^^ undeclared lifetime
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0261`.