diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-12 14:40:41 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-14 18:00:54 -0700 |
| commit | 3d693d74b814eed6140b9ca29ff01eb3411255a2 (patch) | |
| tree | d7a020d5a6420947a646cee46ba14be16c183120 /src/librustdoc/html/render.rs | |
| parent | a7e8957c591651b6568d1b495d29ee85d11c0975 (diff) | |
| download | rust-3d693d74b814eed6140b9ca29ff01eb3411255a2.tar.gz rust-3d693d74b814eed6140b9ca29ff01eb3411255a2.zip | |
rustdoc: Use privacy visibility for pruning
This commit ends rustdoc's approximation of privacy and instead uses the result of the various compiler passes instead. Closes #9827
Diffstat (limited to 'src/librustdoc/html/render.rs')
| -rw-r--r-- | src/librustdoc/html/render.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index bb78b5aabb5..5b27adb2967 100644 --- a/src/librustdoc/html/render.rs +++ b/src/librustdoc/html/render.rs @@ -582,7 +582,7 @@ impl DocFolder for Cache { clean::StructItem(*) | clean::EnumItem(*) | clean::TypedefItem(*) | clean::TraitItem(*) | clean::FunctionItem(*) | clean::ModuleItem(*) | - clean::VariantItem(*) => { + clean::ForeignFunctionItem(*) | clean::VariantItem(*) => { self.paths.insert(item.id, (self.stack.clone(), shortty(&item))); } _ => {} |
