1 // Check that globs cannot import hygienic identifiers from a macro expansion
2 // in another crate. `my_struct` is a `macro_rules` macro, so the struct it
3 // defines is only not imported because `my_struct` is defined by a macros 2.0
6 // aux-build:use_by_macro.rs
8 extern crate use_by_macro;
21 let x = my_struct!(create);
22 //~^ ERROR cannot find struct, variant or union type `MyStruct` in this scope