Skip to content

Commit

Permalink
Update tests for re-exports of doc hidden macros
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed May 26, 2023
1 parent 3802ba0 commit c908d1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions tests/rustdoc/reexport-doc-hidden.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@ macro_rules! foo {
() => {};
}

// This is a bug: https://github.com/rust-lang/rust/issues/59368
// @!has - '//*[@id="reexport.Macro"]/code' 'pub use crate::foo as Macro;'
// @has - '//*[@id="reexport.Macro"]/code' 'pub use crate::foo as Macro;'
pub use crate::foo as Macro;
2 changes: 1 addition & 1 deletion tests/rustdoc/reexport-hidden-macro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ macro_rules! foo {
() => {};
}

/// not displayed
// @has - '//*[@id="reexport.Macro"]/code' 'pub use crate::foo as Macro;'
pub use crate::foo as Macro;
/// Displayed
#[doc(inline)]
Expand Down

0 comments on commit c908d1e

Please sign in to comment.