Came across this conversation on #rust irc:
run the code, comment out line 15 and run the code again
#![feature(nll)] and repeat the same steps
Looks like a worse error message than before due to NLL. Without NLL, it's a use-after-move error. With NLL, it may point to uninitialized instead of moved
Just to clarify, it appears to be the combination of NLL and assigning to the struct field that causes the mention of using/borrowing something that has been moved to disappear from the error message.
@DPC that link doesn't have any code in it, you'd need to click "Share" from the playground while you have the code in it. We just see whatever we had typed into playground last.
my bad xD
i thought i had already clicked on share :grin:
issue opened: https://github.com/rust-lang/rust/issues/52669