From c908d1e4decdb0a6db8280a48baa64f8344acab7 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 26 May 2023 17:31:54 +0200 Subject: [PATCH] Update tests for re-exports of doc hidden macros --- tests/rustdoc/reexport-doc-hidden.rs | 3 +-- tests/rustdoc/reexport-hidden-macro.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/rustdoc/reexport-doc-hidden.rs b/tests/rustdoc/reexport-doc-hidden.rs index 3ea5fde72f7..d9ed954868e 100644 --- a/tests/rustdoc/reexport-doc-hidden.rs +++ b/tests/rustdoc/reexport-doc-hidden.rs @@ -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; diff --git a/tests/rustdoc/reexport-hidden-macro.rs b/tests/rustdoc/reexport-hidden-macro.rs index afcfa979616..e498acbab0b 100644 --- a/tests/rustdoc/reexport-hidden-macro.rs +++ b/tests/rustdoc/reexport-hidden-macro.rs @@ -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)]