File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ #![ crate_name = "foo" ]
2
+
3
+ // This test ensures that there is no "infinite redirection" file generated (a
4
+ // file which redirects to itself).
5
+
6
+ // We check it's not a redirection file.
7
+ // @has 'foo/builders/struct.ActionRowBuilder.html'
8
+ // @has - '//*[@id="synthetic-implementations"]' 'Auto Trait Implementations'
9
+
10
+ // And that the link in the module is targetting it.
11
+ // @has 'foo/builders/index.html'
12
+ // @has - '//a[@href="struct.ActionRowBuilder.html"]' 'ActionRowBuilder'
13
+
14
+ mod auto {
15
+ mod action_row {
16
+ pub struct ActionRowBuilder ;
17
+ }
18
+
19
+ #[ doc( hidden) ]
20
+ pub mod builders {
21
+ pub use super :: action_row:: ActionRowBuilder ;
22
+ }
23
+ }
24
+
25
+ pub use auto:: * ;
26
+
27
+ pub mod builders {
28
+ pub use crate :: auto:: builders:: * ;
29
+ }
You can’t perform that action at this time.
0 commit comments