[blocked] Link to proposed LLM policy in CONTRIBUTING and pull request template

This commit is contained in:
jyn
2026-06-18 10:36:08 +02:00
parent 49b6ac01d6
commit 833ec34ae8
2 changed files with 20 additions and 0 deletions

View File

@@ -1,5 +1,16 @@
<!-- homu-ignore:start -->
- [ ] I did not use an LLM to create a change in this PR.
- [ ] I used an LLM to create a change in this PR, and I have explained below how it was used.
<!--
Please read our [LLM policy] before opening a PR,
and check one of the boxes above to indicate whether you've used an LLM.
If you do not check a box, a reviewer may ask you whether an LLM was involved.
LLM contributions are not banned, but are held to a higher standard of review and correctness.
[LLM policy]: https://forge.rust-lang.org/policies/llm-usage.html
If this PR is related to an unstable feature or an otherwise tracked effort,
please link to the relevant tracking issue here. If you don't know of a related
tracking issue or there are none, feel free to ignore this.

View File

@@ -29,6 +29,15 @@ that you read and understand the [rustc-dev-guide] before making a contribution.
talks about the different bots in the Rust ecosystem, the Rust development tools,
bootstrapping, the compiler architecture, source code representation, and more.
## LLM policy
We have a policy for how LLMs are allowed to be used in contributions to `rust-lang/rust`.
You can read it [on Forge][LLM policy].
For suggestions about how to use LLMs *well*, and how to review LLM-created PRs, see [the dev-guide][llm-guidance].
[LLM policy]: https://forge.rust-lang.org/policies/llm-usage.html
[llm-guidance]: https://rustc-dev-guide.rust-lang.org/llm-guidance.html
## [Getting help](https://rustc-dev-guide.rust-lang.org/getting-started.html#asking-questions)
There are many ways you can get help when you're stuck. Rust has two platforms for this: