RustRover seems to be able to somehow break its view of the world. I have a Protobuf file that's compiled with a build.rs using prost_build::compile_protos(). It works fine, my app uses the created structs andfunctions fine, compiles ok and runs fine. Yet RustRover does not see the symbols and shows everything as undefined. Something is cached somewhere and I can't figure out what.

#rust #rustrover #protobuf

Hm, could it be that RR does not find the protoc compiler? It's in a custom location and the PROTOC environment variables are set for the run configurations, but not the editor itself? That's why compiling and running works fine.
Indeed, that was it. Setting a PROTOC variable for the editor too fixes it.