Sign in
rust
/
rust
/
8eb7c58dbb7b32701af113bc58722d0d1fefb1eb
/
.
/
src
/
librustc_error_codes
/
error_codes
/
E0516.md
blob: 815d7609013000871982c87017c99201feaee833 [
file
] [
view
]
The
`typeof`
keyword
is
currently reserved but unimplemented
.
Erroneous
code example
:
```compile_fail,E0516
fn main() {
let x: typeof(92) = 92;
}
```
Try
using
type inference instead
.
Example
:
```
fn main() {
let x = 92;
}
```