]>
git.proxmox.com Git - rustc.git/blob - tests/rustdoc/foreigntype-reexport.rs
1 #![feature(extern_types)]
5 /// Another extern type.
14 // @has foreigntype_reexport/sub2/foreigntype.C.html
16 // @has foreigntype_reexport/sub2/fn.f.html
18 // @has foreigntype_reexport/sub2/static.K3.html
32 // @has foreigntype_reexport/foreigntype.C2.html
33 // @has foreigntype_reexport/fn.f2.html
34 // @has foreigntype_reexport/static.K2.html
35 // @has foreigntype_reexport/index.html '//a[@class="foreigntype"]' 'C2'
36 // @has foreigntype_reexport/index.html '//a[@class="fn"]' 'f2'
37 // @has foreigntype_reexport/index.html '//a[@class="static"]' 'K2'
38 pub use self::sub
::{f2, C2, K as K2}
;
40 // @has foreigntype_reexport/index.html '//a[@class="foreigntype"]' 'C'
41 // @has foreigntype_reexport/index.html '//a[@class="fn"]' 'f'
42 // @has foreigntype_reexport/index.html '//a[@class="static"]' 'K3'
43 // @has foreigntype_reexport/index.html '//code' 'pub use self::sub2::C as C3;'
44 // @has foreigntype_reexport/index.html '//code' 'pub use self::sub2::f as f3;'
45 // @has foreigntype_reexport/index.html '//code' 'pub use self::sub2::K3;'
46 pub use self::sub2
::{f as f3, C as C3, K3}
;
48 // @has foreigntype_reexport/foreigntype.C4.html
49 // @has foreigntype_reexport/fn.f4.html
50 // @has foreigntype_reexport/static.K4.html
51 // @!has foreigntype_reexport/foreigntype.X4.html
52 // @has foreigntype_reexport/index.html '//a[@class="foreigntype"]' 'C4'
53 // @has foreigntype_reexport/index.html '//a[@class="fn"]' 'f4'
54 // @has foreigntype_reexport/index.html '//a[@class="static"]' 'K4'
55 // @!has foreigntype_reexport/index.html '//a[@class="foreigntype"]' 'X4'
56 pub use self::sub3
::*;