Conversation
|
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:
|
|
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. |
|
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 . should I rewrite on existing one or should I close this and create a new pr . |
|
@clarfonthey ? |
|
Sorry, forgot to reply. If you want to rewrite, keeping this PR open is fine. No need to open a new PR. |
9c726e1 to
439eb2d
Compare
|
Thanks for the feedback @clarfonthey , I rewrote it again. Now it would not violate the llm usage policy . |
|
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 |
…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
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)
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)
Documents the
collapse_debuginfobuilt-in attribute inlibrary/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 .