]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0261.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / error-codes / E0261.stderr
1 error[E0261]: use of undeclared lifetime name `'a`
2   --> $DIR/E0261.rs:1:12
3    |
4 LL | fn foo(x: &'a str) { } //~ ERROR E0261
5    |            ^^ undeclared lifetime
6
7 error[E0261]: use of undeclared lifetime name `'a`
8   --> $DIR/E0261.rs:5:9
9    |
10 LL |     x: &'a str, //~ ERROR E0261
11    |         ^^ undeclared lifetime
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0261`.