rust/tests/ui/lifetimes/lifetime-no-keyword.stderr
2023-01-11 09:32:08 +00:00

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