2018-08-08 07:28:26 -05:00
|
|
|
error[E0261]: use of undeclared lifetime name `'b`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/regions-name-undeclared.rs:15:24
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | fn m4(&self, arg: &'b isize) { }
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^ undeclared lifetime
|
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'b`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/regions-name-undeclared.rs:16:12
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | fn m5(&'b self) { }
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^ undeclared lifetime
|
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'b`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/regions-name-undeclared.rs:17:27
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | fn m6(&self, arg: Foo<'b>) { }
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^ undeclared lifetime
|
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/regions-name-undeclared.rs:25:22
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | type X = Option<&'a isize>;
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^ undeclared lifetime
|
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/regions-name-undeclared.rs:27:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | E1(&'a isize)
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^ undeclared lifetime
|
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/regions-name-undeclared.rs:30:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | f: &'a isize
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^ undeclared lifetime
|
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/regions-name-undeclared.rs:32:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | fn f(a: &'a isize) { }
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^ undeclared lifetime
|
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/regions-name-undeclared.rs:40:17
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | fn fn_types(a: &'a isize,
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^ undeclared lifetime
|
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'b`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/regions-name-undeclared.rs:42:36
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-07-24 19:58:29 -05:00
|
|
|
LL | ... &'b isize,
|
|
|
|
| ^^ undeclared lifetime
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'b`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/regions-name-undeclared.rs:45:36
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-07-24 19:58:29 -05:00
|
|
|
LL | ... &'b isize)>,
|
|
|
|
| ^^ undeclared lifetime
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error[E0261]: use of undeclared lifetime name `'a`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/regions-name-undeclared.rs:46:17
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | c: &'a isize)
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^ undeclared lifetime
|
|
|
|
|
|
|
|
error: aborting due to 11 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0261`.
|