Skip to content

Rework doc-test attribute documentation example #126681

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

Urgau
Copy link
Member

@Urgau Urgau commented Jun 19, 2024

This PR change the doc-test attribute documentation example to prefer a more neutral example deny(dead_code), instead of deny(warnings), which is less susceptible to breakage across Rust version.

r? @GuillaumeGomez

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 19, 2024
@GuillaumeGomez
Copy link
Member

Thanks!

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jun 19, 2024

📌 Commit d70d76b has been approved by GuillaumeGomez

It is now in the queue for this repository.

@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 Jun 19, 2024
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Jun 19, 2024
…eGomez

Rework doc-test attribute documentation example

This PR change the doc-test attribute documentation example to prefer a more neutral example `deny(dead_code)`, instead of `deny(warnings)`, which is less susceptible to breakage across Rust version.

r? ``@GuillaumeGomez``
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 19, 2024
…fee1-dead

Rollup of 5 pull requests

Successful merges:

 - rust-lang#126668 (Remove now NOP attrs `#[rustc_dump{,_env}_program_clauses]`)
 - rust-lang#126674 (Allow tracing through item_bounds query invocations on opaques)
 - rust-lang#126675 (Change a `DefineOpaqueTypes::No` to `Yes` in diagnostics code)
 - rust-lang#126681 (Rework doc-test attribute documentation example)
 - rust-lang#126684 (Migrate `run-make/glibc-staticlib-args` to `rmake.rs`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 69e26df into rust-lang:master Jun 19, 2024
6 checks passed
@rustbot rustbot added this to the 1.81.0 milestone Jun 19, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Jun 19, 2024
Rollup merge of rust-lang#126681 - Urgau:rustdoc-deny-doc, r=GuillaumeGomez

Rework doc-test attribute documentation example

This PR change the doc-test attribute documentation example to prefer a more neutral example `deny(dead_code)`, instead of `deny(warnings)`, which is less susceptible to breakage across Rust version.

r? ```@GuillaumeGomez```
# for free to join this conversation on GitHub. Already have an account? # 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.

4 participants