If a rebuild stops with an error, and you change your code, you can try a normal build the next time.
The project trees get cleaned before compiling if you do a rebuild, so only the changed source code will be compiled (and of course the sources that haven't been comiled the first time or depend on the changed code).