Uh oh!
There was an error while loading. Please reload this page.
minor fix about visibility in reference - #38215
Conversation
rust-highfive
commented
Dec 7, 2016
(rust_highfive has picked a reviewer for you, use r? to override) |
KalitaAlexey
commented
Dec 7, 2016
You mentioned that trait items are public by default. Can I make a trait item private? |
liigo
commented
Dec 7, 2016
you can't, at least currently, we don't use |
There was a problem hiding this comment.
Associated items and variants are not public by default, they inherit visibility from their traits and enums respectively. E.g.
pub(vis) trait Tr {
fn f();
}
is "desugared" into
pub(vis) trait Tr {
pub(vis) fn f(); // (Not syntactically legal now)
}
steveklabnik
commented
Dec 12, 2016
Looks like @petrochenkov 's feedback needs to be addressed. |
liigo
commented
Dec 13, 2016
done. |
petrochenkov
commented
Dec 13, 2016
@bors r+ rollup |
bors
commented
Dec 13, 2016
📌 Commit e095c71 has been approved by |
minor fix about visibility in reference
minor fix about visibility in reference
bors
commented
Dec 16, 2016
⌛ Testing commit e095c71 with merge 69aa86a... |
bors
commented
Dec 16, 2016
💔 Test failed - auto-mac-64-opt-rustbuild |
GuillaumeGomez
commented
Dec 16, 2016
@bors: retry |
bors
commented
Dec 16, 2016
⌛ Testing commit e095c71 with merge dea9316... |
bors
commented
Dec 16, 2016
💔 Test failed - auto-mac-64-opt-rustbuild |
alexcrichton
commented
Dec 16, 2016
via email
@bors: retry …On Fri, Dec 16, 2016 at 7:57 AM, bors ***@***.***> wrote:
💔 Test failed - auto-mac-64-opt-rustbuild
<https://buildbot.rust-lang.org/builders/auto-mac-64-opt-rustbuild/builds/3276>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#38215 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95LDM-RmA4rFp3im_A-ycSxBaYA7kks5rIrTmgaJpZM4LGU5m>
.
|
minor fix about visibility in reference
sanxiyn
commented
Dec 19, 2016
@bors retry |
alexcrichton
commented
Dec 20, 2016
@bors: retry |
minor fix about visibility in reference
Rollup of 29 pull requests - Successful merges: #37761, #38006, #38131, #38150, #38158, #38171, #38208, #38215, #38236, #38245, #38289, #38302, #38315, #38346, #38388, #38395, #38398, #38418, #38432, #38451, #38463, #38468, #38470, #38471, #38472, #38478, #38486, #38493, #38498 - Failed merges: #38271, #38483
No description provided.