error[E0433]: failed to resolve: use of undeclared crate or module `somedep` --> $DIR/multiple-opts.rs:19:5 | LL | somedep::somefun(); | ^^^^^^^ use of undeclared crate or module `somedep` error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0433`.