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
fndemo(devil:fn() -> !){let x:&_ = devil();// error: cannot determine a type for this local variable}fnoh_no() -> ! {panic!("the devil is in the details")}fnmain(){demo(oh_no);}
rustc --explain E0102
Gives this example code to show the problem.
This example does not return E0102, but E0282.
The text was updated successfully, but these errors were encountered: