mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-15 00:13:02 +00:00
15 lines
405 B
Plaintext
15 lines
405 B
Plaintext
![]() |
error[E0516]: `typeof` is a reserved keyword but unimplemented
|
||
|
--> $DIR/issue-102986.rs:2:9
|
||
|
|
|
||
|
LL | y: (typeof("hey"),),
|
||
|
| ^^^^^^^^^^^^^ reserved keyword
|
||
|
|
|
||
|
help: consider replacing `typeof(...)` with an actual type
|
||
|
|
|
||
|
LL | y: (&'static str,),
|
||
|
| ~~~~~~~~~~~~
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|
||
|
For more information about this error, try `rustc --explain E0516`.
|