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
This specific example of the bug doesn't do anything terrible for me, it just doesn't print anything. However, this appears to trample variable values, as I first ran into this with more complex code where it caused a segfault.
Changing start.test in the println to end.test prints bar, as expected. Changing Mine{other_val:1, ..start.make_string_bar()} to Mine{other_val:1, ..start} causes compiler errors at the println saying start has moved, which is also correct.