Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mark internal inplace_iteration traits as hidden #85374

Merged
merged 1 commit into from
May 17, 2021

Conversation

the8472
Copy link
Member

@the8472 the8472 commented May 16, 2021

resolves #85373

r? @SimonSapin

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 16, 2021
@SimonSapin
Copy link
Contributor

Looks good, thanks!

Could you confirm that impls are also hidden from docs when the trait has #[doc(hidden)]?

@the8472
Copy link
Member Author

the8472 commented May 16, 2021

I have checked core/iter/struct.Zip.html, which previously showed those impls. It does not anymore.

@rust-log-analyzer

This comment has been minimized.

@SimonSapin
Copy link
Contributor

r+ as far as I’m concerned, but the link checker is complaining

@the8472
Copy link
Member Author

the8472 commented May 16, 2021

Looks like #[doc(hidden)] only has an effect within the same crate, not across crates. I have add it to the impls in the alloc crate.

@SimonSapin
Copy link
Contributor

This sounds like a rustdoc bug worth filing

@SimonSapin
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented May 16, 2021

📌 Commit 39e492a has been approved by SimonSapin

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 16, 2021
@bors
Copy link
Contributor

bors commented May 17, 2021

⌛ Testing commit 39e492a with merge 8c12016f3d06e5156fd55e137ea7bb0dec04131b...

@bors
Copy link
Contributor

bors commented May 17, 2021

💥 Test timed out

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels May 17, 2021
@SimonSapin
Copy link
Contributor

@bors retry rollup

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 17, 2021
RalfJung added a commit to RalfJung/rust that referenced this pull request May 17, 2021
…onSapin

mark internal inplace_iteration traits as hidden

resolves rust-lang#85373

r? `@SimonSapin`
bors added a commit to rust-lang-ci/rust that referenced this pull request May 17, 2021
Rollup of 8 pull requests

Successful merges:

 - rust-lang#85087 (`eval_fn_call`: check the ABI of `body.source`)
 - rust-lang#85302 (Expand WASI abbreviation in docs)
 - rust-lang#85355 (More tests for issue-85255)
 - rust-lang#85367 (Fix invalid input:disabled CSS selector)
 - rust-lang#85374 (mark internal inplace_iteration traits as hidden)
 - rust-lang#85408 (remove size field from Allocation)
 - rust-lang#85409 (Simplify `cfg(any(unix, target_os="redox"))` in example to just `cfg(unix)`)
 - rust-lang#85412 (remove some functions that were only used by Miri)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit fbb0d70 into rust-lang:master May 17, 2021
@rustbot rustbot added this to the 1.54.0 milestone May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Public unstable feature="inplace_iteration" APIs without a tracking issue
6 participants