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
@Centril I'm guessing that the reference should probably include more detail on the never type (https://github.com/rust-lang/reference/blob/master/src/types/never.md is pretty slim), would you agree? Is that something you'd like to do? If not, I can probably try to figure out what could be added, but an outline of what would be useful to add would be helpful.
(And congratulations on getting it stabilized. 😄 )
Activity
ehuss commentedon Nov 21, 2019
@Centril I'm guessing that the reference should probably include more detail on the never type (https://github.com/rust-lang/reference/blob/master/src/types/never.md is pretty slim), would you agree? Is that something you'd like to do? If not, I can probably try to figure out what could be added, but an outline of what would be useful to add would be helpful.
(And congratulations on getting it stabilized. 😄 )
Centril commentedon Nov 21, 2019
@ehuss It seems roughly in good shape, but I would probably extend that with:
enum Void {}except for the implicit coercion behavior. -- contrast & compare.()(for now, with a link to Tracking issue for fallback of diverging expressions to thenever_type(!) rust#65992).If you have a sec to file the PR that would be neat!
Thanks! (I wonder how long it lasts... 😅)
ehuss commentedon Nov 24, 2019
Closing this as it has been re-stabilized. rust-lang/rust#65355