]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/inline_local/glob-extern-no-defaults.rs
Rollup merge of #69007 - GuillaumeGomez:clean-up-e0283, r=Dylan-DPC
[rust.git] / src / test / rustdoc / inline_local / glob-extern-no-defaults.rs
1 // compile-flags: --no-defaults
2
3 #![crate_name = "foo"]
4
5 mod mod1 {
6     extern {
7         pub fn public_fn();
8         fn private_fn();
9     }
10 }
11
12 pub use mod1::*;
13
14 // @has foo/index.html
15 // @has - "mod1"
16 // @has - "public_fn"
17 // @!has - "private_fn"
18 // @has foo/fn.public_fn.html
19 // @!has foo/fn.private_fn.html
20
21 // @has foo/mod1/index.html
22 // @has - "public_fn"
23 // @has - "private_fn"
24 // @has foo/mod1/fn.public_fn.html
25 // @has foo/mod1/fn.private_fn.html