error[E0433]: failed to resolve. Use of undeclared type or module `m` --> $DIR/macro_path_as_generic_bound.rs:17:6 | LL | foo!(m::m2::A); //~ ERROR failed to resolve | ^ Use of undeclared type or module `m` error: aborting due to previous error For more information about this error, try `rustc --explain E0433`.