17 lines
439 B
Rust
17 lines
439 B
Rust
#![crate_name = "foo"]
|
|
|
|
//@ has 'foo/index.html'
|
|
//@ has - '//section[@id="rustdoc-toc"]/h3' 'Crate Items'
|
|
|
|
//@ has 'foo/bar/index.html'
|
|
//@ has - '//section[@id="rustdoc-toc"]/h3' 'Module Items'
|
|
pub mod bar {
|
|
//@ has 'foo/bar/struct.Baz.html'
|
|
//@ !has - '//section[@id="rustdoc-toc"]/h3' 'Module Items'
|
|
pub struct Baz;
|
|
}
|
|
|
|
//@ has 'foo/baz/index.html'
|
|
//@ !has - '//section[@id="rustdoc-toc"]/h3' 'Module Items'
|
|
pub mod baz {}
|