Attempting to import a module using mod with no body and supplying the same name as the current module (ie. a recursive mod) is not detected at compile time, and results in the compiler spinning its wheels.
Simple example:
// foo.rs
mod foo;
fn main() { .. }