]>
git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/reexports.rs
1 // aux-build: reexports.rs
5 extern crate reexports
;
7 // @has 'foo/macro.addr_of.html' '//*[@class="item-decl"]' 'pub macro addr_of($place:expr) {'
8 pub use reexports
::addr_of
;
9 // @!has 'foo/macro.addr_of_crate.html'
10 pub(crate) use reexports
::addr_of_crate
;
11 // @!has 'foo/macro.addr_of_self.html'
12 pub(self) use reexports
::addr_of_self
;
13 // @!has 'foo/macro.addr_of_local.html'
14 use reexports
::addr_of_local
;
16 // @has 'foo/struct.Foo.html' '//*[@class="item-decl"]' 'pub struct Foo;'
17 pub use reexports
::Foo
;
18 // @!has 'foo/struct.FooCrate.html'
19 pub(crate) use reexports
::FooCrate
;
20 // @!has 'foo/struct.FooSelf.html'
21 pub(self) use reexports
::FooSelf
;
22 // @!has 'foo/struct.FooLocal.html'
23 use reexports
::FooLocal
;
25 // @has 'foo/enum.Bar.html' '//*[@class="item-decl"]' 'pub enum Bar {'
26 pub use reexports
::Bar
;
27 // @!has 'foo/enum.BarCrate.html'
28 pub(crate) use reexports
::BarCrate
;
29 // @!has 'foo/enum.BarSelf.html'
30 pub(self) use reexports
::BarSelf
;
31 // @!has 'foo/enum.BarLocal.html'
32 use reexports
::BarLocal
;
34 // @has 'foo/fn.foo.html' '//*[@class="rust fn"]' 'pub fn foo()'
35 pub use reexports
::foo
;
36 // @!has 'foo/fn.foo_crate.html'
37 pub(crate) use reexports
::foo_crate
;
38 // @!has 'foo/fn.foo_self.html'
39 pub(self) use reexports
::foo_self
;
40 // @!has 'foo/fn.foo_local.html'
41 use reexports
::foo_local
;
43 // @has 'foo/type.Type.html' '//*[@class="rust typedef"]' 'pub type Type ='
44 pub use reexports
::Type
;
45 // @!has 'foo/type.TypeCrate.html'
46 pub(crate) use reexports
::TypeCrate
;
47 // @!has 'foo/type.TypeSelf.html'
48 pub(self) use reexports
::TypeSelf
;
49 // @!has 'foo/type.TypeLocal.html'
50 use reexports
::TypeLocal
;
52 // @has 'foo/union.Union.html' '//*[@class="item-decl"]' 'pub union Union {'
53 pub use reexports
::Union
;
54 // @!has 'foo/union.UnionCrate.html'
55 pub(crate) use reexports
::UnionCrate
;
56 // @!has 'foo/union.UnionSelf.html'
57 pub(self) use reexports
::UnionSelf
;
58 // @!has 'foo/union.UnionLocal.html'
59 use reexports
::UnionLocal
;
63 // @has 'foo/outer/inner/macro.addr_of.html' '//*[@class="item-decl"]' 'pub macro addr_of($place:expr) {'
64 pub use reexports
::addr_of
;
65 // @!has 'foo/outer/inner/macro.addr_of_crate.html'
66 pub(crate) use reexports
::addr_of_crate
;
67 // @!has 'foo/outer/inner/macro.addr_of_super.html'
68 pub(super) use reexports
::addr_of_super
;
69 // @!has 'foo/outer/inner/macro.addr_of_self.html'
70 pub(self) use reexports
::addr_of_self
;
71 // @!has 'foo/outer/inner/macro.addr_of_local.html'
72 use reexports
::addr_of_local
;
74 // @has 'foo/outer/inner/struct.Foo.html' '//*[@class="item-decl"]' 'pub struct Foo;'
75 pub use reexports
::Foo
;
76 // @!has 'foo/outer/inner/struct.FooCrate.html'
77 pub(crate) use reexports
::FooCrate
;
78 // @!has 'foo/outer/inner/struct.FooSuper.html'
79 pub(super) use reexports
::FooSuper
;
80 // @!has 'foo/outer/inner/struct.FooSelf.html'
81 pub(self) use reexports
::FooSelf
;
82 // @!has 'foo/outer/inner/struct.FooLocal.html'
83 use reexports
::FooLocal
;
85 // @has 'foo/outer/inner/enum.Bar.html' '//*[@class="item-decl"]' 'pub enum Bar {'
86 pub use reexports
::Bar
;
87 // @!has 'foo/outer/inner/enum.BarCrate.html'
88 pub(crate) use reexports
::BarCrate
;
89 // @!has 'foo/outer/inner/enum.BarSuper.html'
90 pub(super) use reexports
::BarSuper
;
91 // @!has 'foo/outer/inner/enum.BarSelf.html'
92 pub(self) use reexports
::BarSelf
;
93 // @!has 'foo/outer/inner/enum.BarLocal.html'
94 use reexports
::BarLocal
;
96 // @has 'foo/outer/inner/fn.foo.html' '//*[@class="rust fn"]' 'pub fn foo()'
97 pub use reexports
::foo
;
98 // @!has 'foo/outer/inner/fn.foo_crate.html'
99 pub(crate) use reexports
::foo_crate
;
100 // @!has 'foo/outer/inner/fn.foo_super.html'
101 pub(super) use::reexports
::foo_super
;
102 // @!has 'foo/outer/inner/fn.foo_self.html'
103 pub(self) use reexports
::foo_self
;
104 // @!has 'foo/outer/inner/fn.foo_local.html'
105 use reexports
::foo_local
;
107 // @has 'foo/outer/inner/type.Type.html' '//*[@class="rust typedef"]' 'pub type Type ='
108 pub use reexports
::Type
;
109 // @!has 'foo/outer/inner/type.TypeCrate.html'
110 pub(crate) use reexports
::TypeCrate
;
111 // @!has 'foo/outer/inner/type.TypeSuper.html'
112 pub(super) use reexports
::TypeSuper
;
113 // @!has 'foo/outer/inner/type.TypeSelf.html'
114 pub(self) use reexports
::TypeSelf
;
115 // @!has 'foo/outer/inner/type.TypeLocal.html'
116 use reexports
::TypeLocal
;
118 // @has 'foo/outer/inner/union.Union.html' '//*[@class="item-decl"]' 'pub union Union {'
119 pub use reexports
::Union
;
120 // @!has 'foo/outer/inner/union.UnionCrate.html'
121 pub(crate) use reexports
::UnionCrate
;
122 // @!has 'foo/outer/inner/union.UnionSuper.html'
123 pub(super) use reexports
::UnionSuper
;
124 // @!has 'foo/outer/inner/union.UnionSelf.html'
125 pub(self) use reexports
::UnionSelf
;
126 // @!has 'foo/outer/inner/union.UnionLocal.html'
127 use reexports
::UnionLocal
;