-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
//! We have here [`foo::MYCONST`] and [`Bar::MYCONST`].
pub mod foo {
pub const MYCONST: u32 = 42;
}
pub struct Bar;
impl Bar {
pub const MYCONST: u32 = 42;
}
// Test with non-doc usage
pub const C1: u32 = foo::MYCONST;
pub const C2: u32 = Bar::MYCONST;
rustdoc 1.26.0-nightly (c08480fce 2018-03-23)
Ref #43466
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.