1 // aux-build: intra-link-pub-use.rs
2 #![deny(broken_intra_doc_links)]
3 #![crate_name = "outer"]
9 // FIXME: This can't be tested because rustdoc doesn't show documentation on pub re-exports.
10 // Until then, comment out the `htmldocck` test.
11 // This test still does something; namely check that no incorrect errors are emitted when
12 // documenting the re-export.
14 // @has outer/index.html
15 // @ has - '//a[@href="https://doc.rust-lang.org/nightly/std/env/fn.var.html"]' "std::env"
16 // @ has - '//a[@href="../outer/fn.f.html"]' "g"
19 // FIXME: same as above
21 extern crate self as _;
23 // Make sure the documentation is actually correct by documenting an inlined re-export
25 // @has outer/fn.f.html
26 // @has - '//a[@href="https://doc.rust-lang.org/nightly/std/env/index.html"]' "std::env"