- ๐ซ Currently a
Freshman
at UC Berkeley
fn main(){
//..
let bug_count: i8 = count_errors(my_code);
}
>>error[E0308]: mismatched types
--> src/main.rs:77:30
|
77 | let bug_count: i8 = count_errors(my_code);
| ^^^ expected `i8`, found `i32`