about summary refs log tree commit diff
path: root/tests/rustdoc-js/reexport-dedup-macro.rs
blob: f70b9c3d73382a92236f1ef2829f96ff9aa2df76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ aux-crate: macro_in_module=macro-in-module.rs
#![crate_name = "foo"]
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 {
        () => {};
    }
}