error[E0308]: mismatched types --> prog.rs:2:18 | 2 | let age: i32 = "30"; | --- ^^^^ expected `i32`, found `&str` | | | expected due to this error: aborting due to previous error For more information about this error, try `rustc --explain E0308`.