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
mbrubeck
changed the title
It is possible to write to a filed of uninitialized struct
It is possible to write to a field of an uninitialized struct
Oct 5, 2017
It is impossible to read a filed of uninitialized struct, but for some reason the write is allowed (but you can't read it back later):
Originally reported at https://users.rust-lang.org/t/use-of-possibly-uninitialized-variable-on-an-initialized-variable/4799/4
The text was updated successfully, but these errors were encountered: