Update tests for re-exports of doc hidden macros
This commit is contained in:
parent
3802ba0f6a
commit
c908d1e4de
@ -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;
|
pub use crate::foo as Macro;
|
||||||
|
@ -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;
|
pub use crate::foo as Macro;
|
||||||
/// Displayed
|
/// Displayed
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
|
Loading…
Reference in New Issue
Block a user