Unable to rename error

The only place where I’ve seen that in the forum is Include libraries properly - #3 by Nikosant03 where it was solved by doing a clean & rebuild.

Does the issue disappear after the next build or clean or is the project forever “bricked” then?