mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
15 lines
339 B
Plaintext
15 lines
339 B
Plaintext
error: lifetimes cannot use keyword names
|
|
--> $DIR/cfg-keyword-lifetime.rs:4:16
|
|
|
|
|
LL | fn hello() -> &'ref () {}
|
|
| ^^^^
|
|
|
|
error: lifetimes cannot use keyword names
|
|
--> $DIR/cfg-keyword-lifetime.rs:11:20
|
|
|
|
|
LL | fn hello() -> &'ref () {}
|
|
| ^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|