]>
git.proxmox.com Git - rustc.git/blob - tests/rustdoc/redirect.rs
1 // aux-build:reexp-stripped.rs
3 // ignore-cross-compile
5 extern crate reexp_stripped
;
9 // @has redirect/index.html
10 // @has - '//code' 'pub use reexp_stripped::Bar'
11 // @has - '//code/a' 'Bar'
12 // @has - '//a[@href="../reexp_stripped/hidden/struct.Bar.html"]' 'Bar'
13 // @has reexp_stripped/hidden/struct.Bar.html
14 // @has 'reexp_stripped/struct.Bar.html'
15 // @has - '//a[@href="struct.Bar.html"]' 'Bar'
17 pub use reexp_stripped
::Bar
;
20 // @has redirect/index.html
21 // @has - '//code' 'pub use reexp_stripped::Quz'
22 // @has - '//code/a' 'Quz'
23 // @has reexp_stripped/private/struct.Quz.html
24 // @has - '//p/a' '../../reexp_stripped/struct.Quz.html'
25 // @has 'reexp_stripped/struct.Quz.html'
27 pub use reexp_stripped
::Quz
;
30 mod private_no_inline
{
35 // @has redirect/index.html
36 // @has - '//code' 'pub use private_no_inline::Qux'
37 // @!has - '//a' 'Qux'
38 // @!has redirect/struct.Qux.html
40 pub use private_no_inline
::Qux
;