Registry Mirror
Skip to content

Conversation

@RajManish8340

@RajManish8340 RajManish8340 commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Documents the collapse_debuginfo built-in attribute in library/core/src/attribute_docs.rs.

Part of #157604

LLM disclosure: Assisted by an LLM for reviewing wordings, checking compiler behavior, for required commands, and local bootstrap/doctest setup troubleshoot, ; all content was verified and tested locally by me .

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Nov 28, 2026
@rustbot

rustbot commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the pull request, and welcome! The Rust Project has assigned @clarfonthey (or someone else) to review your changes, you should hear from them (or someone else) within the next two weeks.

Please see the contribution instructions and our LLM policy for more information.

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: libs
  • libs expanded to 38 candidates
  • Random selection from JohnTitor, Mark-Simulacrum, clarfonthey, joboet

@clarfonthey

Copy link
Copy Markdown
Contributor

Hi, did you use an LLM to write this? Because documentation written by LLMs is not allowed by our LLM policy, regardless of whether you've reviewed/revised it.

@RajManish8340

Copy link
Copy Markdown
Contributor Author

I wrote the draft myself and asked llm about it and from that generated output I added things from it such as ``` for the code formatting and , `` for highlights and how to write docs references, - for bullet points , and some text wording suggestions as well from it. I think i misunderstood the policy .
Now i know how to do it, I will re write it on my own .

should I rewrite on existing one or should I close this and create a new pr .

@RajManish8340

RajManish8340 commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor Author

@clarfonthey ?
should I rewrite on existing one or should I close this and create a new pr .

@clarfonthey

Copy link
Copy Markdown
Contributor

Sorry, forgot to reply.

If you want to rewrite, keeping this PR open is fine. No need to open a new PR.

@RajManish8340
RajManish8340 force-pushed the document-collapse-debuginfo-attribute branch from 9c726e1 to 439eb2d Compare November 29, 2026 16:15
@RajManish8340

Copy link
Copy Markdown
Contributor Author

Thanks for the feedback @clarfonthey , I rewrote it again. Now it would not violate the llm usage policy .

@clarfonthey

Copy link
Copy Markdown
Contributor

Thank you! This version looks good; when reviewing this I also took a look at the existing attribute documentation and it does seem that we don't really have a good idea of what consistent style we want for them, so, I think that for now just having docs for every attribute is useful. Appreciate you taking the time to write this in your own words.

@bors r+ rollup

@rust-bors

rust-bors Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 439eb2d has been approved by clarfonthey

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Nov 30, 2026
Zalathar added a commit to Zalathar/rust that referenced this pull request Nov 30, 2026
…buginfo-attribute, r=clarfonthey

Document the collapse_debuginfo attribute

Documents the `collapse_debuginfo` built-in attribute in `library/core/src/attribute_docs.rs`.

Part of rust-lang#157604
rust-bors Bot pushed a commit that referenced this pull request Nov 30, 2026
Rollup of 3 pull requests

Successful merges:

 - #166538 (rustdoc: Fix `impl MyTrait for !` syntax highlighting)
 - #166702 (Document the collapse_debuginfo attribute)
 - #166776 (mir_build: Assorted small cleanups in match lowering)
rust-bors Bot pushed a commit that referenced this pull request Nov 30, 2026
Rollup of 8 pull requests

Successful merges:

 - #166441 (Express `c_void` pointer types as types derived from NULL in LLVM DI)
 - #166538 (rustdoc: Fix `impl MyTrait for !` syntax highlighting)
 - #166755 (miri subtree update)
 - #165911 (const generics: explain that exprs must be valid in a gca!​ macro when gca_macroless_items​ is on)
 - #166363 (respect the win32 vector register budget)
 - #166702 (Document the collapse_debuginfo attribute)
 - #166760 (Use data driven tests to tests dominators)
 - #166776 (mir_build: Assorted small cleanups in match lowering)
@rust-bors
rust-bors Bot merged commit 74ce32d into rust-lang:main Nov 30, 2026
14 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 30, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 30, 2026
Rollup merge of #166702 - RajManish8340:document-collapse-debuginfo-attribute, r=clarfonthey

Document the collapse_debuginfo attribute

Documents the `collapse_debuginfo` built-in attribute in `library/core/src/attribute_docs.rs`.

Part of #157604
RalfJung pushed a commit to RalfJung/miri that referenced this pull request Dec 1, 2026
Rollup of 8 pull requests

Successful merges:

 - rust-lang/rust#166441 (Express `c_void` pointer types as types derived from NULL in LLVM DI)
 - rust-lang/rust#166538 (rustdoc: Fix `impl MyTrait for !` syntax highlighting)
 - rust-lang/rust#166755 (miri subtree update)
 - rust-lang/rust#165911 (const generics: explain that exprs must be valid in a gca!​ macro when gca_macroless_items​ is on)
 - rust-lang/rust#166363 (respect the win32 vector register budget)
 - rust-lang/rust#166702 (Document the collapse_debuginfo attribute)
 - rust-lang/rust#166760 (Use data driven tests to tests dominators)
 - rust-lang/rust#166776 (mir_build: Assorted small cleanups in match lowering)
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. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants