mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
16 lines
293 B
Rust
16 lines
293 B
Rust
#![crate_name = "foo"]
|
|
|
|
pub mod a {
|
|
pub struct Foo;
|
|
pub enum Bar {
|
|
Baz,
|
|
}
|
|
}
|
|
|
|
// @count 'foo/index.html' '//*[code="pub use a::Foo;"]' 1
|
|
#[doc(no_inline)]
|
|
pub use a::Foo;
|
|
// @count 'foo/index.html' '//*[code="pub use a::Bar::Baz;"]' 1
|
|
#[doc(no_inline)]
|
|
pub use a::Bar::Baz;
|