2021-07-06 08:19:02 -05:00
|
|
|
// aux-build: reexports.rs
|
|
|
|
// compile-flags: --document-private-items
|
|
|
|
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
|
|
|
extern crate reexports;
|
|
|
|
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/macro.addr_of.html' '//*[@class="rust item-decl"]' 'pub macro addr_of($place:expr) {'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub use reexports::addr_of;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/macro.addr_of_crate.html'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub(crate) use reexports::addr_of_crate;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/macro.addr_of_self.html'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub(self) use reexports::addr_of_self;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/macro.addr_of_local.html'
|
|
|
|
use reexports::addr_of_local;
|
2021-07-06 08:19:02 -05:00
|
|
|
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/struct.Foo.html' '//*[@class="rust item-decl"]' 'pub struct Foo;'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub use reexports::Foo;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/struct.FooCrate.html'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub(crate) use reexports::FooCrate;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/struct.FooSelf.html'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub(self) use reexports::FooSelf;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/struct.FooLocal.html'
|
|
|
|
use reexports::FooLocal;
|
2021-07-06 08:19:02 -05:00
|
|
|
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/enum.Bar.html' '//*[@class="rust item-decl"]' 'pub enum Bar {'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub use reexports::Bar;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/enum.BarCrate.html'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub(crate) use reexports::BarCrate;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/enum.BarSelf.html'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub(self) use reexports::BarSelf;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/enum.BarLocal.html'
|
|
|
|
use reexports::BarLocal;
|
2021-07-06 08:19:02 -05:00
|
|
|
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/fn.foo.html' '//pre[@class="rust item-decl"]' 'pub fn foo()'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub use reexports::foo;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/fn.foo_crate.html'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub(crate) use reexports::foo_crate;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/fn.foo_self.html'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub(self) use reexports::foo_self;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/fn.foo_local.html'
|
|
|
|
use reexports::foo_local;
|
2021-07-06 08:19:02 -05:00
|
|
|
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/type.Type.html' '//pre[@class="rust item-decl"]' 'pub type Type ='
|
2021-07-06 08:19:02 -05:00
|
|
|
pub use reexports::Type;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/type.TypeCrate.html'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub(crate) use reexports::TypeCrate;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/type.TypeSelf.html'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub(self) use reexports::TypeSelf;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/type.TypeLocal.html'
|
|
|
|
use reexports::TypeLocal;
|
2021-07-06 08:19:02 -05:00
|
|
|
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/union.Union.html' '//*[@class="rust item-decl"]' 'pub union Union {'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub use reexports::Union;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/union.UnionCrate.html'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub(crate) use reexports::UnionCrate;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/union.UnionSelf.html'
|
2021-07-06 08:19:02 -05:00
|
|
|
pub(self) use reexports::UnionSelf;
|
2021-11-16 23:10:37 -06:00
|
|
|
// @!has 'foo/union.UnionLocal.html'
|
|
|
|
use reexports::UnionLocal;
|
2021-07-07 06:47:28 -05:00
|
|
|
|
2021-11-16 23:10:37 -06:00
|
|
|
pub mod outer {
|
|
|
|
pub mod inner {
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/macro.addr_of.html' '//*[@class="rust item-decl"]' 'pub macro addr_of($place:expr) {'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub use reexports::addr_of;
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/macro.addr_of_crate.html' '//*[@class="rust item-decl"]' 'pub(crate) macro addr_of_crate($place:expr) {'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub(crate) use reexports::addr_of_crate;
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/macro.addr_of_super.html' '//*[@class="rust item-decl"]' 'pub(in outer) macro addr_of_super($place:expr) {'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub(super) use reexports::addr_of_super;
|
|
|
|
// @!has 'foo/outer/inner/macro.addr_of_self.html'
|
|
|
|
pub(self) use reexports::addr_of_self;
|
|
|
|
// @!has 'foo/outer/inner/macro.addr_of_local.html'
|
|
|
|
use reexports::addr_of_local;
|
|
|
|
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/struct.Foo.html' '//*[@class="rust item-decl"]' 'pub struct Foo;'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub use reexports::Foo;
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/struct.FooCrate.html' '//*[@class="rust item-decl"]' 'pub(crate) struct FooCrate;'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub(crate) use reexports::FooCrate;
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/struct.FooSuper.html' '//*[@class="rust item-decl"]' 'pub(in outer) struct FooSuper;'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub(super) use reexports::FooSuper;
|
|
|
|
// @!has 'foo/outer/inner/struct.FooSelf.html'
|
|
|
|
pub(self) use reexports::FooSelf;
|
|
|
|
// @!has 'foo/outer/inner/struct.FooLocal.html'
|
|
|
|
use reexports::FooLocal;
|
|
|
|
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/enum.Bar.html' '//*[@class="rust item-decl"]' 'pub enum Bar {'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub use reexports::Bar;
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/enum.BarCrate.html' '//*[@class="rust item-decl"]' 'pub(crate) enum BarCrate {'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub(crate) use reexports::BarCrate;
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/enum.BarSuper.html' '//*[@class="rust item-decl"]' 'pub(in outer) enum BarSuper {'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub(super) use reexports::BarSuper;
|
|
|
|
// @!has 'foo/outer/inner/enum.BarSelf.html'
|
|
|
|
pub(self) use reexports::BarSelf;
|
|
|
|
// @!has 'foo/outer/inner/enum.BarLocal.html'
|
|
|
|
use reexports::BarLocal;
|
|
|
|
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/fn.foo.html' '//pre[@class="rust item-decl"]' 'pub fn foo()'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub use reexports::foo;
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/fn.foo_crate.html' '//pre[@class="rust item-decl"]' 'pub(crate) fn foo_crate()'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub(crate) use reexports::foo_crate;
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/fn.foo_super.html' '//pre[@class="rust item-decl"]' 'pub(in outer) fn foo_super()'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub(super) use::reexports::foo_super;
|
|
|
|
// @!has 'foo/outer/inner/fn.foo_self.html'
|
|
|
|
pub(self) use reexports::foo_self;
|
|
|
|
// @!has 'foo/outer/inner/fn.foo_local.html'
|
|
|
|
use reexports::foo_local;
|
|
|
|
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/type.Type.html' '//pre[@class="rust item-decl"]' 'pub type Type ='
|
2021-11-16 23:10:37 -06:00
|
|
|
pub use reexports::Type;
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/type.TypeCrate.html' '//pre[@class="rust item-decl"]' 'pub(crate) type TypeCrate ='
|
2021-11-16 23:10:37 -06:00
|
|
|
pub(crate) use reexports::TypeCrate;
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/type.TypeSuper.html' '//pre[@class="rust item-decl"]' 'pub(in outer) type TypeSuper ='
|
2021-11-16 23:10:37 -06:00
|
|
|
pub(super) use reexports::TypeSuper;
|
|
|
|
// @!has 'foo/outer/inner/type.TypeSelf.html'
|
|
|
|
pub(self) use reexports::TypeSelf;
|
|
|
|
// @!has 'foo/outer/inner/type.TypeLocal.html'
|
|
|
|
use reexports::TypeLocal;
|
|
|
|
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/union.Union.html' '//*[@class="rust item-decl"]' 'pub union Union {'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub use reexports::Union;
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/union.UnionCrate.html' '//*[@class="rust item-decl"]' 'pub(crate) union UnionCrate {'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub(crate) use reexports::UnionCrate;
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has 'foo/outer/inner/union.UnionSuper.html' '//*[@class="rust item-decl"]' 'pub(in outer) union UnionSuper {'
|
2021-11-16 23:10:37 -06:00
|
|
|
pub(super) use reexports::UnionSuper;
|
|
|
|
// @!has 'foo/outer/inner/union.UnionSelf.html'
|
|
|
|
pub(self) use reexports::UnionSelf;
|
|
|
|
// @!has 'foo/outer/inner/union.UnionLocal.html'
|
|
|
|
use reexports::UnionLocal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mod re_re_exports {
|
|
|
|
// @!has 'foo/re_re_exports/union.Union.html'
|
|
|
|
use crate::reexports::Union;
|
2021-07-07 06:47:28 -05:00
|
|
|
}
|