You point out a crucial aspect here, and you are right.
When I talk about productivity, I focus on the one that most concerns (wrongly) companies in general, i.e. the ability to write software quickly.
Either because the deadlines are irrevocably short, or because the market needs to be tested quickly (MVP), or because the client's budget does not allow to do otherwise and the mandate does not include maintenance anyway.
It is indeed a facade productivity, which does not take into account the complete life of the software (which is often underestimated).
However, in this complete life, if the compiler is a precious help, the readability of the code is as well, and I think that on this point, Go remains ahead (but the Rust compiler is more scrupulous).
Generally speaking, I consider facade productivity as something bad, I invite you to read my last article on the subject : https://bastienvigneron.medium.com/software-development-what-has-changed-cd901207fa0d .