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
Remove a ;, to allow Rust to infer the type (#1374)
`?` currently influences inference s.t. for `error()?` rustc infers `T = ()`.
However, it is quite confusing -- `?` is not supposed to influence inference,
it's just a conicidence because of the curent implementation. There is an idea
to change this behavior in future Rust versions, such that this code won't
compile without this change.
0 commit comments