--bless tests
This commit is contained in:
parent
d5440926e2
commit
8412d5dc5c
3 changed files with 15 additions and 0 deletions
|
@ -3,6 +3,11 @@ error[E0516]: `typeof` is a reserved keyword but unimplemented
|
|||
|
|
||||
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
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@ error[E0516]: `typeof` is a reserved keyword but unimplemented
|
|||
|
|
||||
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
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@ error[E0516]: `typeof` is a reserved keyword but unimplemented
|
|||
|
|
||||
LL | let b: typeof(a) = 1i8;
|
||||
| ^^^^^^^^^ reserved keyword
|
||||
|
|
||||
help: consider replacing `typeof(...)` with an actual type
|
||||
|
|
||||
LL | let b: u8 = 1i8;
|
||||
| ~~
|
||||
|
||||
error[E0308]: mismatched types
|
||||
--> $DIR/type_mismatch.rs:5:24
|
||||
|
|
Loading…
Reference in a new issue