27 lines
635 B
Plaintext
27 lines
635 B
Plaintext
error: lifetimes cannot use keyword names
|
|
--> $DIR/lifetime-no-keyword.rs:3:8
|
|
|
|
|
LL | fn baz<'let>(a: &'let isize) { }
|
|
| ^^^^
|
|
|
|
error: lifetimes cannot use keyword names
|
|
--> $DIR/lifetime-no-keyword.rs:3:18
|
|
|
|
|
LL | fn baz<'let>(a: &'let isize) { }
|
|
| ^^^^
|
|
|
|
error: lifetimes cannot use keyword names
|
|
--> $DIR/lifetime-no-keyword.rs:5:8
|
|
|
|
|
LL | fn zab<'self>(a: &'self isize) { }
|
|
| ^^^^^
|
|
|
|
error: lifetimes cannot use keyword names
|
|
--> $DIR/lifetime-no-keyword.rs:5:19
|
|
|
|
|
LL | fn zab<'self>(a: &'self isize) { }
|
|
| ^^^^^
|
|
|
|
error: aborting due to 4 previous errors
|
|
|