]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0516.stderr
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / error-codes / E0516.stderr
1 error[E0516]: `typeof` is a reserved keyword but unimplemented
2   --> $DIR/E0516.rs:2:12
3    |
4 LL |     let x: typeof(92) = 92;
5    |            ^^^^^^^^^^ reserved keyword
6    |
7 help: consider replacing `typeof(...)` with an actual type
8    |
9 LL |     let x: i32 = 92;
10    |            ~~~
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0516`.