Skip to content

Document the collapse_debuginfo attribute - #166702

Open
RajManish8340 wants to merge 1 commit into
rust-lang:mainfrom
RajManish8340:document-collapse-debuginfo-attribute
Open

RajManish8340 wants to merge 1 commit into
rust-lang:mainfrom
RajManish8340:document-collapse-debuginfo-attribute

Conversation

@RajManish8340

@RajManish8340 RajManish8340 commented Nov 28, 2026 •

Copy link
Copy Markdown

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
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
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
Author

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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants