Skip to content

Commit

Permalink
test for renaming re-exported macros
Browse files Browse the repository at this point in the history
  • Loading branch information
QuietMisdreavus committed Jul 3, 2018
1 parent a220321 commit 61dc03c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/test/rustdoc/inline_cross/macro-vis.rs
Expand Up @@ -20,6 +20,12 @@
// @has macro_vis/index.html '//a/@href' 'macro.some_macro.html'
pub use qwop::some_macro;

// @has macro_vis/macro.renamed_macro.html
// @!has - '//pre' 'some_macro'
// @has macro_vis/index.html '//a/@href' 'macro.renamed_macro.html'
#[doc(inline)]
pub use qwop::some_macro as renamed_macro;

// @!has macro_vis/macro.other_macro.html
// @!has macro_vis/index.html '//a/@href' 'macro.other_macro.html'
// @!has - '//code' 'pub use qwop::other_macro;'
Expand Down

0 comments on commit 61dc03c

Please sign in to comment.