]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/constructor-imports.rs
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / rustdoc / constructor-imports.rs
1 #![crate_name = "foo"]
2
3 pub mod a {
4     pub struct Foo;
5     pub enum Bar {
6         Baz,
7     }
8 }
9
10 // @count 'foo/index.html' '//*[code="pub use a::Foo;"]' 1
11 #[doc(no_inline)]
12 pub use a::Foo;
13 // @count 'foo/index.html' '//*[code="pub use a::Bar::Baz;"]' 1
14 #[doc(no_inline)]
15 pub use a::Bar::Baz;