1 // aux-build:macro-in-other-crate.rs
3 #![feature(decl_macro)]
5 macro_rules
! add_macro_expanded_things_to_macro_prelude
{() => {
7 extern crate macro_in_other_crate
;
10 add_macro_expanded_things_to_macro_prelude
!();
14 inline
!(); // OK. Theoretically ambiguous, but we do not consider built-in attributes
15 // as candidates for non-attribute macro invocations to avoid regressions
27 use m2
::*; // glob-import user-defined `std`
29 std
::panic
!(); //~ ERROR `std` is ambiguous