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
So this is just a case of #1165; because the process::exit call isn't resolved when you're using a local import, we don't know that the error case diverges, so it gets typed as (), and since the type of table can be anything at that point, it'll get unified to () as well.
The code is https://github.com/rust-lang/rust/blob/master/src/bootstrap/config.rs#L560
The type of closure
get_toml
,toml
andincluded_toml
is inferenced to()
, but it should beTomlConfig
.Even with a type annotation, the return type of

get_toml
is still()
The text was updated successfully, but these errors were encountered: