rust/tests/rustdoc/issue-83375-multiple-mods-w-same-name-doc-inline.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
307 B
Rust
Raw Normal View History

#![crate_name = "foo"]
pub mod sub {
pub struct Item;
pub mod prelude {
pub use super::Item;
}
}
// @count foo/index.html '//a[@class="mod"][@title="foo::prelude mod"]' 1
2022-09-09 20:04:47 -05:00
// @count foo/prelude/index.html '//div[@class="item-row"]' 0
pub mod prelude {}
#[doc(inline)]
pub use sub::*;