]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/inline_cross/renamed-via-module.rs
Auto merge of #104023 - Nilstrieb:cleanup-query, r=cjgillot
[rust.git] / src / test / rustdoc / inline_cross / renamed-via-module.rs
1 // aux-build:renamed-via-module.rs
2 // build-aux-docs
3 // ignore-cross-compile
4
5 #![crate_name = "bar"]
6
7 extern crate foo;
8
9 // @has foo/iter/index.html
10 // @has - '//a/[@href="struct.DeprecatedStepBy.html"]' "DeprecatedStepBy"
11 // @has - '//a/[@href="struct.StepBy.html"]' "StepBy"
12 // @has foo/iter/struct.DeprecatedStepBy.html
13 // @has - '//h1' "Struct foo::iter::DeprecatedStepBy"
14 // @has foo/iter/struct.StepBy.html
15 // @has - '//h1' "Struct foo::iter::StepBy"
16
17 // @has bar/iter/index.html
18 // @has - '//a/[@href="struct.DeprecatedStepBy.html"]' "DeprecatedStepBy"
19 // @has - '//a/[@href="struct.StepBy.html"]' "StepBy"
20 // @has bar/iter/struct.DeprecatedStepBy.html
21 // @has - '//h1' "Struct bar::iter::DeprecatedStepBy"
22 // @has bar/iter/struct.StepBy.html
23 // @has - '//h1' "Struct bar::iter::StepBy"
24 pub use foo::iter;