Skip to content

V0110: type mismatch

An expression has a different type than the position requires.

fn main() { let x: int = "text" }
error[V0110]: expected int, found str<=4
--> example.veer:1:26
|
1 | fn main() { let x: int = "text" }
| ^^^^^^
= help: run `veer explain V0110` for details