2020-08-30 16:06:40 +00:00
|
|
|
// aux-build: intra-link-pub-use.rs
|
2021-11-26 23:03:16 +00:00
|
|
|
#![deny(rustdoc::broken_intra_doc_links)]
|
2020-08-30 16:06:40 +00:00
|
|
|
#![crate_name = "outer"]
|
|
|
|
|
|
|
|
extern crate inner;
|
|
|
|
|
|
|
|
/// [mod@std::env] [g]
|
|
|
|
// @has outer/index.html
|
2022-07-03 18:23:30 +00:00
|
|
|
// @has - '//a[@href="{{channel}}/std/env/index.html"]' "std::env"
|
|
|
|
// @has - '//a[@href="fn.f.html"]' "g"
|
2020-08-29 20:32:17 +00:00
|
|
|
pub use f as g;
|
|
|
|
|
2020-08-30 16:06:40 +00:00
|
|
|
// Make sure the documentation is actually correct by documenting an inlined re-export
|
|
|
|
/// [mod@std::env]
|
|
|
|
// @has outer/fn.f.html
|
2021-05-05 03:36:33 +00:00
|
|
|
// @has - '//a[@href="{{channel}}/std/env/index.html"]' "std::env"
|
2020-08-30 16:06:40 +00:00
|
|
|
pub use inner::f;
|