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
1629: TY: implemented `!` type r=matklad
`!` type (TyNever) is result of `return`, `break` & `continue` exprs, and also `panic!()`, `unimplemented!()` and so on. Rust handles `!` in a special way, e.g. allow it to become any type, or ignore match arm that return it.
It isn't fixing #1599 completely, but if remove semicolon after `return 0` in that example, it will work.
Intellij thinks the type 'full' is () when it should be u32
The text was updated successfully, but these errors were encountered: