1 // Copyright 2018 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 // aux-build:all-item-types.rs
14 #![feature(use_extern_macros)]
16 #![crate_name = "foo"]
19 extern crate all_item_types;
21 // @has 'foo/index.html' '//a[@href="../all_item_types/foo_mod/index.html"]' 'foo_mod'
23 pub use all_item_types::foo_mod;
25 // @has 'foo/index.html' '//a[@href="../all_item_types/fn.foo_ffn.html"]' 'foo_ffn'
27 pub use all_item_types::foo_ffn;
29 // @has 'foo/index.html' '//a[@href="../all_item_types/static.FOO_FSTATIC.html"]' 'FOO_FSTATIC'
31 pub use all_item_types::FOO_FSTATIC;
33 // @has 'foo/index.html' '//a[@href="../all_item_types/foreigntype.FooFType.html"]' 'FooFType'
35 pub use all_item_types::FooFType;
37 // @has 'foo/index.html' '//a[@href="../all_item_types/fn.foo_fn.html"]' 'foo_fn'
39 pub use all_item_types::foo_fn;
41 // @has 'foo/index.html' '//a[@href="../all_item_types/trait.FooTrait.html"]' 'FooTrait'
43 pub use all_item_types::FooTrait;
45 // @has 'foo/index.html' '//a[@href="../all_item_types/struct.FooStruct.html"]' 'FooStruct'
47 pub use all_item_types::FooStruct;
49 // @has 'foo/index.html' '//a[@href="../all_item_types/enum.FooEnum.html"]' 'FooEnum'
51 pub use all_item_types::FooEnum;
53 // @has 'foo/index.html' '//a[@href="../all_item_types/union.FooUnion.html"]' 'FooUnion'
55 pub use all_item_types::FooUnion;
57 // @has 'foo/index.html' '//a[@href="../all_item_types/type.FooType.html"]' 'FooType'
59 pub use all_item_types::FooType;
61 // @has 'foo/index.html' '//a[@href="../all_item_types/static.FOO_STATIC.html"]' 'FOO_STATIC'
63 pub use all_item_types::FOO_STATIC;
65 // @has 'foo/index.html' '//a[@href="../all_item_types/constant.FOO_CONSTANT.html"]' 'FOO_CONSTANT'
67 pub use all_item_types::FOO_CONSTANT;
69 // @has 'foo/index.html' '//a[@href="../all_item_types/macro.foo_macro.html"]' 'foo_macro'
71 pub use all_item_types::foo_macro;