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
The type of ExpressionWithBlock expressions when used as statements must be the unit type.
And here "ExpressionWithBlock" means an expression statement without a semicolon. It's not explicit about whether or not it is "trailing" because a block expression defines the trailing expression as "ExpressionWithoutBlock".
It seems to be essentially what you are asking for?
cc rust-lang/rust#61753
The text was updated successfully, but these errors were encountered: