2024-01-12 15:32:08 -07:00
|
|
|
//@ aux-crate: macro_in_module=macro-in-module.rs
|
2024-06-03 17:35:56 +10:00
|
|
|
#![crate_name = "foo"]
|
2024-01-12 15:32:08 -07:00
|
|
|
extern crate macro_in_module;
|
|
|
|
|
|
|
|
// Test case based on the relationship between alloc and std.
|
|
|
|
#[doc(inline)]
|
|
|
|
pub use macro_in_module::vec;
|
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
mod hidden_macro_module {
|
|
|
|
#[macro_export]
|
|
|
|
macro_rules! myspecialvec {
|
|
|
|
() => {};
|
|
|
|
}
|
|
|
|
}
|