rust/tests/rustdoc-js/reexport-dedup-macro.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
329 B
Rust
Raw Normal View History

//@ aux-crate: macro_in_module=macro-in-module.rs
2024-06-03 07:35:56 +00:00
#![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 {
() => {};
}
}