File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ mod hidden {
4
4
// @has foo/hidden/struct.Foo.html
5
5
// @has - '//p/a' '../../foo/struct.FooBar.html'
6
6
pub struct Foo { }
7
+ pub union U { a : usize }
8
+ pub enum Empty { }
9
+ pub const C : usize = 1 ;
10
+ pub static S : usize = 1 ;
7
11
8
12
// @has foo/hidden/bar/index.html
9
13
// @has - '//p/a' '../../foo/baz/index.html'
@@ -16,6 +20,14 @@ mod hidden {
16
20
17
21
// @has foo/struct.FooBar.html
18
22
pub use hidden:: Foo as FooBar ;
23
+ // @has foo/union.FooU.html
24
+ pub use hidden:: U as FooU ;
25
+ // @has foo/enum.FooEmpty.html
26
+ pub use hidden:: Empty as FooEmpty ;
27
+ // @has foo/constant.FooC.html
28
+ pub use hidden:: C as FooC ;
29
+ // @has foo/static.FooS.html
30
+ pub use hidden:: S as FooS ;
19
31
20
32
// @has foo/baz/index.html
21
33
// @has foo/baz/struct.Thing.html
You can’t perform that action at this time.
0 commit comments