]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-61592.rs
Rollup merge of #107169 - albertlarsan68:lock-in-pre-push, r=Mark-Simulacrum
[rust.git] / tests / rustdoc / issue-61592.rs
1 // aux-build:issue-61592.rs
2
3 extern crate foo;
4
5 // @has issue_61592/index.html
6 // @has - '//a[@href="#reexports"]' 'Re-exports'
7 // @has - '//code' 'pub use foo::FooTrait as _;'
8 // @!has - '//a[@href="trait._.html"]' ''
9 pub use foo::FooTrait as _;
10
11 // @has issue_61592/index.html
12 // @has - '//a[@href="#reexports"]' 'Re-exports'
13 // @has - '//code' 'pub use foo::FooStruct as _;'
14 // @!has - '//a[@href="struct._.html"]' ''
15 pub use foo::FooStruct as _;