Update tests for re-exports of doc hidden macros

This commit is contained in:
Guillaume Gomez 2023-05-26 17:31:54 +02:00
parent 3802ba0f6a
commit c908d1e4de
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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)]