about summary refs log tree commit diff
path: root/tests/rustdoc/issue-61592.rs
blob: 068310fa6a33ad2dfe03a6851558e3302fe7836e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ aux-build:issue-61592.rs

extern crate foo;

// @has issue_61592/index.html
// @has - '//a[@href="#reexports"]' 'Re-exports'
// @has - '//code' 'pub use foo::FooTrait as _;'
// @!has - '//a[@href="trait._.html"]' ''
pub use foo::FooTrait as _;

// @has issue_61592/index.html
// @has - '//a[@href="#reexports"]' 'Re-exports'
// @has - '//code' 'pub use foo::FooStruct as _;'
// @!has - '//a[@href="struct._.html"]' ''
pub use foo::FooStruct as _;