IntelliJ Reporting Spurious Compile Errors

I'm not getting any love from the IntelliJ community, so I thought I'd try here.

After a recent, big merge, I am getting spurious error reports in my editor. For example, main.rs has

mod foo;
mod bar;
use crate::foo::Foo;
use crate::bar::Bar;

The editor tells me that crate::foo is private, but it doesn't report the error for crate::bar. The code compiles and runs in IntelliJ, so I know the reported error is spurious.

It's annoying because I don't get the nice green check that tells me the module compiles. Does anybody have a workaround?