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