]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/inline_local/please_inline.rs
Rollup merge of #69569 - matthiaskrgr:nonminimal_bool, r=mark-Simulacrum
[rust.git] / src / test / rustdoc / inline_local / please_inline.rs
1 pub mod foo {
2     pub struct Foo;
3 }
4
5 // @has please_inline/a/index.html
6 pub mod a {
7     // @!has - 'pub use foo::'
8     // @has please_inline/a/struct.Foo.html
9     #[doc(inline)]
10     pub use foo::Foo;
11 }
12
13 // @has please_inline/b/index.html
14 pub mod b {
15     // @has - 'pub use foo::'
16     // @!has please_inline/b/struct.Foo.html
17     #[feature(inline)]
18     pub use foo::Foo;
19 }