diff options
| author | Oliver Middleton <olliemail27@gmail.com> | 2018-04-13 14:58:43 +0100 |
|---|---|---|
| committer | Oliver Middleton <olliemail27@gmail.com> | 2018-04-13 14:58:43 +0100 |
| commit | abded6111bcdaf53a74abb5188d81708180a364f (patch) | |
| tree | 6768187966e3e4290973dcdeada0fd98f110d791 /src/test/rustdoc | |
| parent | 9afed646451175e24964cc76688293cb87ed718c (diff) | |
rustdoc: Don't include private paths in all.html
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/all.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/rustdoc/all.rs b/src/test/rustdoc/all.rs index ec391319b18..1969cf859ee 100644 --- a/src/test/rustdoc/all.rs +++ b/src/test/rustdoc/all.rs @@ -28,3 +28,11 @@ pub union Union { pub const CONST: u32 = 0; pub static STATIC: &str = "baguette"; pub fn function() {} + +mod private_module { + pub struct ReexportedStruct; +} + +// @has foo/all.html '//a[@href="struct.ReexportedStruct.html"]' 'ReexportedStruct' +// @!has foo/all.html 'private_module' +pub use private_module::ReexportedStruct; |
