split_structs

Function split_structs 

Source
pub fn split_structs(lowered: &mut Lowered<'_>)
Expand description

Splits all the variables that were created by struct_construct and reintroduces the struct_construct statement when needed.

Note that if a member is used after the struct then it means that the struct is copyable.