error[E0583]: file not found for module `baz` --> $DIR/auxiliary/foo/bar.rs:11:9 | 11 | pub mod baz; | ^^^ | = help: name the file either bar/baz.rs or bar/baz/mod.rs inside the directory "$DIR/auxiliary/foo" error: aborting due to previous error If you want more information on this error, try using "rustc --explain E0583"