mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
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 {}
|