about summary refs log tree commit diff
path: root/src/test/rustdoc/pub-restricted.rs
AgeCommit message (Collapse)AuthorLines
2020-12-25Merge `pub-restricted` and `visibility` testCamelid-32/+0
2020-12-25Prefer `pub(crate)` over no modifierCamelid-4/+4
2020-12-25Fix bugs; fix and add testsCamelid-16/+16
2020-11-17Use DefPath for clean::Visibility, not clean::PathJoshua Nelson-9/+7
Visibility needs much less information than a full path, since modules can never have generics. This allows constructing a Visibility from only a DefId. Note that this means that paths are now normalized to their DefPath. In other words, `pub(self)` or `pub(super)` now always shows `pub(in path)` instead of preserving the original text.
2018-12-25Remove licensesMark Rousskov-10/+0
2018-05-12rustdoc: Add support for pub(restricted)Oliver Middleton-0/+44