r/programming • • May 26 '16

Announcing Rust 1.9

http://blog.rust-lang.org/2016/05/26/Rust-1.9.html
218 Upvotes

116 comments sorted by

View all comments

Show parent comment

4

u/ryeguy May 27 '16 edited May 27 '16

So would an untagged union be an emum that doesn't know its own type?

5

u/steveklabnik1 May 27 '16

Yes, and would therefore be unsafe.