// { dg-options "-frust-name-resolution-2.0" }// check that macros by example do not get inserted in ribs like regular itemspub mod foo {pub mod bar {pub mod baz {pub mod qux {
macro_rules! foo {(one) => {};}}}}}crate::foo::bar::baz::qux::foo!();// { dg-error "could not resolve macro invocation" }
foo::bar::baz::qux::foo!();// { dg-error "could not resolve macro invocation" }