#path attribute.
Such declarations produce an infinite module graph and cannot be compiled.
A common example of this error is a file module that declares a child mod referencing the current file:
// File: recursive_mod.rs
#[path = "recursive_mod.rs"]
mod child_mod;