Skip to content

Fix private module loophole in the 'private type in public item' check#23290

Merged
bors merged 1 commit into
rust-lang:masterfrom
nrc:pub_priv_mod
Mar 18, 2015
Merged

Fix private module loophole in the 'private type in public item' check#23290
bors merged 1 commit into
rust-lang:masterfrom
nrc:pub_priv_mod

Conversation

@nrc

@nrc nrc commented Mar 11, 2015

Copy link
Copy Markdown
Member

Closes #22261

r? @nikomatsakis

(+ a new test coming soon...)

@nrc

nrc commented Mar 11, 2015

Copy link
Copy Markdown
Member Author

Now with test

@nrc

nrc commented Mar 11, 2015

Copy link
Copy Markdown
Member Author

testing, ignore this

triage: I-nominated (1.0 beta)

@rust-highfive rust-highfive added this to the 1.0 beta milestone Mar 11, 2015
@nrc nrc removed the I-nominated label Mar 11, 2015
@nrc nrc removed this from the 1.0 beta milestone Mar 11, 2015
@nrc

nrc commented Mar 11, 2015

Copy link
Copy Markdown
Member Author

triage: I-nominated

@rust-highfive rust-highfive added this to the 1.0 beta milestone Mar 11, 2015
@nrc nrc removed the I-nominated label Mar 11, 2015
@nrc nrc removed this from the 1.0 beta milestone Mar 11, 2015
@nrc

nrc commented Mar 11, 2015

Copy link
Copy Markdown
Member Author

triage: I-nominated

1 similar comment
@nrc

nrc commented Mar 11, 2015

Copy link
Copy Markdown
Member Author

triage: I-nominated

@nrc

nrc commented Mar 11, 2015

Copy link
Copy Markdown
Member Author

triage: I-nominated (1.0 beta)

@rust-highfive rust-highfive added this to the 1.0 beta milestone Mar 11, 2015
@nrc nrc removed the I-nominated label Mar 11, 2015
@nrc nrc removed this from the 1.0 beta milestone Mar 11, 2015
@nrc

nrc commented Mar 11, 2015

Copy link
Copy Markdown
Member Author

triage: P-high

@rust-highfive rust-highfive added the P-medium Medium priority label Mar 11, 2015
@rust-highfive rust-highfive added this to the 1.0 beta milestone Mar 11, 2015
@nrc nrc removed this from the 1.0 beta milestone Mar 11, 2015
@nrc

nrc commented Mar 11, 2015

Copy link
Copy Markdown
Member Author

triage: I-nominated

@rust-highfive rust-highfive removed the P-medium Medium priority label Mar 11, 2015
@nrc

nrc commented Mar 11, 2015

Copy link
Copy Markdown
Member Author

triage P-high

@rust-highfive rust-highfive added the P-medium Medium priority label Mar 11, 2015
@nrc

nrc commented Mar 11, 2015

Copy link
Copy Markdown
Member Author

triage: I-nominated

@rust-highfive rust-highfive removed the P-medium Medium priority label Mar 11, 2015
@nrc

nrc commented Mar 11, 2015

Copy link
Copy Markdown
Member Author

triage P-high

@rust-highfive rust-highfive added P-medium Medium priority and removed I-nominated P-low Low priority labels Mar 11, 2015
@nrc nrc removed the P-medium Medium priority label Mar 11, 2015
@bors

bors commented Mar 12, 2015

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #23265) made this pull request unmergeable. Please resolve the merge conflicts.

@nrc

nrc commented Mar 15, 2015

Copy link
Copy Markdown
Member Author

rebased

Comment thread src/librustc_privacy/lib.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you maybe add a comment about what's going on here? I'm not sure I understand, though I presume this is related to the rules about privacy and impls?

@nikomatsakis

Copy link
Copy Markdown
Contributor

r+ modulo nits

@nrc

nrc commented Mar 17, 2015

Copy link
Copy Markdown
Member Author

@bors r=nmatsakis 8ef2fb5237ec49ea8d27b868a29743693a3c8605

@bors

bors commented Mar 17, 2015

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 8ef2fb5 with merge 885ae98...

@bors

bors commented Mar 18, 2015

Copy link
Copy Markdown
Collaborator

💔 Test failed - auto-win-32-nopt-t

@nrc

nrc commented Mar 18, 2015

Copy link
Copy Markdown
Member Author

@bors: r=nikomatsakis 46aa621

bors added a commit that referenced this pull request Mar 18, 2015
@bors

bors commented Mar 18, 2015

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 46aa621 with merge f9a7bc5...

@bors

bors commented Mar 18, 2015

Copy link
Copy Markdown
Collaborator

@bors bors merged commit 46aa621 into rust-lang:master Mar 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

private type in public API of non-pub mod is allowed

4 participants