]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/extern-links.rs
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / rustdoc / extern-links.rs
1 // aux-build:extern-links.rs
2 // ignore-cross-compile
3
4 #![crate_name = "foo"]
5
6 pub extern crate extern_links;
7
8 // @!has foo/index.html '//a' 'extern_links'
9 #[doc(no_inline)]
10 pub use extern_links as extern_links2;
11
12 // @!has foo/index.html '//a' 'Foo'
13 #[doc(no_inline)]
14 pub use extern_links::Foo;
15
16 #[doc(hidden)]
17 pub mod hidden {
18 // @!has foo/hidden/extern_links/index.html
19 // @!has foo/hidden/extern_links/struct.Foo.html
20 pub use extern_links;
21 }