diff options
Diffstat (limited to 'tests/ui/error-codes/E0516.stderr')
-rw-r--r-- | tests/ui/error-codes/E0516.stderr | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0516.stderr b/tests/ui/error-codes/E0516.stderr new file mode 100644 index 000000000..5243b7caf --- /dev/null +++ b/tests/ui/error-codes/E0516.stderr @@ -0,0 +1,14 @@ +error[E0516]: `typeof` is a reserved keyword but unimplemented + --> $DIR/E0516.rs:2:12 + | +LL | let x: typeof(92) = 92; + | ^^^^^^^^^^ reserved keyword + | +help: consider replacing `typeof(...)` with an actual type + | +LL | let x: i32 = 92; + | ~~~ + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0516`. |