You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have a void function that omits a final semicolon or a non-void function that accidentally has a final semicolon, the type error message should be able to be more clever and give you a more helpful "did you mean...?" kind of message.
The text was updated successfully, but these errors were encountered:
fnhas_a_side_effect_and_returns_something() -> i32{println!("I am a super useful and awesome side effect");42}fndo_a_thing(){has_a_side_effect_and_returns_something();has_a_side_effect_and_returns_something()}fnmain(){do_a_thing();}
When you have a void function that omits a final semicolon or a non-void function that accidentally has a final semicolon, the type error message should be able to be more clever and give you a more helpful "did you mean...?" kind of message.
The text was updated successfully, but these errors were encountered: