|
| 1 | +// aux-build: reexports.rs |
| 2 | +// compile-flags: --document-private-items |
| 3 | + |
| 4 | +#![crate_name = "foo"] |
| 5 | + |
| 6 | +extern crate reexports; |
| 7 | + |
| 8 | +// @has 'foo/macro.addr_of.html' '//*[@class="docblock type-decl"]' 'pub macro addr_of($place : expr) {' |
| 9 | +pub use reexports::addr_of; |
| 10 | +// @has 'foo/macro.addr_of_crate.html' '//*[@class="docblock type-decl"]' 'pub(crate) macro addr_of_crate($place : expr) {' |
| 11 | +pub(crate) use reexports::addr_of_crate; |
| 12 | +// @has 'foo/macro.addr_of_self.html' '//*[@class="docblock type-decl"]' 'pub(crate) macro addr_of_self($place : expr) {' |
| 13 | +pub(self) use reexports::addr_of_self; |
| 14 | + |
| 15 | +// @has 'foo/struct.Foo.html' '//*[@class="docblock type-decl"]' 'pub struct Foo;' |
| 16 | +pub use reexports::Foo; |
| 17 | +// @has 'foo/struct.FooCrate.html' '//*[@class="docblock type-decl"]' 'pub(crate) struct FooCrate;' |
| 18 | +pub(crate) use reexports::FooCrate; |
| 19 | +// @has 'foo/struct.FooSelf.html' '//*[@class="docblock type-decl"]' 'pub(crate) struct FooSelf;' |
| 20 | +pub(self) use reexports::FooSelf; |
| 21 | + |
| 22 | +// @has 'foo/enum.Bar.html' '//*[@class="docblock type-decl"]' 'pub enum Bar {' |
| 23 | +pub use reexports::Bar; |
| 24 | +// @has 'foo/enum.BarCrate.html' '//*[@class="docblock type-decl"]' 'pub(crate) enum BarCrate {' |
| 25 | +pub(crate) use reexports::BarCrate; |
| 26 | +// @has 'foo/enum.BarSelf.html' '//*[@class="docblock type-decl"]' 'pub(crate) enum BarSelf {' |
| 27 | +pub(self) use reexports::BarSelf; |
| 28 | + |
| 29 | +// @has 'foo/fn.foo.html' '//*[@class="rust fn"]' 'pub fn foo()' |
| 30 | +pub use reexports::foo; |
| 31 | +// @has 'foo/fn.foo_crate.html' '//*[@class="rust fn"]' 'pub(crate) fn foo_crate()' |
| 32 | +pub(crate) use reexports::foo_crate; |
| 33 | +// @has 'foo/fn.foo_self.html' '//*[@class="rust fn"]' 'pub(crate) fn foo_self()' |
| 34 | +pub(self) use reexports::foo_self; |
| 35 | + |
| 36 | +// @has 'foo/type.Type.html' '//*[@class="rust typedef"]' 'pub type Type =' |
| 37 | +pub use reexports::Type; |
| 38 | +// @has 'foo/type.TypeCrate.html' '//*[@class="rust typedef"]' 'pub(crate) type TypeCrate =' |
| 39 | +pub(crate) use reexports::TypeCrate; |
| 40 | +// @has 'foo/type.TypeSelf.html' '//*[@class="rust typedef"]' 'pub(crate) type TypeSelf =' |
| 41 | +pub(self) use reexports::TypeSelf; |
| 42 | + |
| 43 | +// @has 'foo/union.Union.html' '//*[@class="docblock type-decl"]' 'pub union Union {' |
| 44 | +pub use reexports::Union; |
| 45 | +// @has 'foo/union.UnionCrate.html' '//*[@class="docblock type-decl"]' 'pub(crate) union UnionCrate {' |
| 46 | +pub(crate) use reexports::UnionCrate; |
| 47 | +// @has 'foo/union.UnionSelf.html' '//*[@class="docblock type-decl"]' 'pub(crate) union UnionSelf {' |
| 48 | +pub(self) use reexports::UnionSelf; |
0 commit comments