]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/cross-crate-links.rs
Bless updated output from print-type-sizes tests.
[rust.git] / tests / rustdoc / cross-crate-links.rs
1 // aux-build:all-item-types.rs
2 // build-aux-docs
3
4 #![crate_name = "foo"]
5
6 #[macro_use]
7 extern crate all_item_types;
8
9 // @has 'foo/index.html' '//a[@href="../all_item_types/foo_mod/index.html"]' 'foo_mod'
10 #[doc(no_inline)]
11 pub use all_item_types::foo_mod;
12
13 // @has 'foo/index.html' '//a[@href="../all_item_types/fn.foo_ffn.html"]' 'foo_ffn'
14 #[doc(no_inline)]
15 pub use all_item_types::foo_ffn;
16
17 // @has 'foo/index.html' '//a[@href="../all_item_types/static.FOO_FSTATIC.html"]' 'FOO_FSTATIC'
18 #[doc(no_inline)]
19 pub use all_item_types::FOO_FSTATIC;
20
21 // @has 'foo/index.html' '//a[@href="../all_item_types/foreigntype.FooFType.html"]' 'FooFType'
22 #[doc(no_inline)]
23 pub use all_item_types::FooFType;
24
25 // @has 'foo/index.html' '//a[@href="../all_item_types/fn.foo_fn.html"]' 'foo_fn'
26 #[doc(no_inline)]
27 pub use all_item_types::foo_fn;
28
29 // @has 'foo/index.html' '//a[@href="../all_item_types/trait.FooTrait.html"]' 'FooTrait'
30 #[doc(no_inline)]
31 pub use all_item_types::FooTrait;
32
33 // @has 'foo/index.html' '//a[@href="../all_item_types/struct.FooStruct.html"]' 'FooStruct'
34 #[doc(no_inline)]
35 pub use all_item_types::FooStruct;
36
37 // @has 'foo/index.html' '//a[@href="../all_item_types/enum.FooEnum.html"]' 'FooEnum'
38 #[doc(no_inline)]
39 pub use all_item_types::FooEnum;
40
41 // @has 'foo/index.html' '//a[@href="../all_item_types/union.FooUnion.html"]' 'FooUnion'
42 #[doc(no_inline)]
43 pub use all_item_types::FooUnion;
44
45 // @has 'foo/index.html' '//a[@href="../all_item_types/type.FooType.html"]' 'FooType'
46 #[doc(no_inline)]
47 pub use all_item_types::FooType;
48
49 // @has 'foo/index.html' '//a[@href="../all_item_types/static.FOO_STATIC.html"]' 'FOO_STATIC'
50 #[doc(no_inline)]
51 pub use all_item_types::FOO_STATIC;
52
53 // @has 'foo/index.html' '//a[@href="../all_item_types/constant.FOO_CONSTANT.html"]' 'FOO_CONSTANT'
54 #[doc(no_inline)]
55 pub use all_item_types::FOO_CONSTANT;
56
57 // @has 'foo/index.html' '//a[@href="../all_item_types/macro.foo_macro.html"]' 'foo_macro'
58 #[doc(no_inline)]
59 pub use all_item_types::foo_macro;