Not necessarily. If you emit a batch of suggestions for 1 line and prune them with syntax checks you can already prune them and present them to the user while working on the next iterations.
The real difficulty is getting good checking on partial source code, some languages have better tooling for that than others.
Which is odd considering they could run this as beam search with the checking part of a compiler in the loop.