Skip to content

Commit f10db29

Browse files
committed
Auto merge of rust-lang#158896 - lnicola:sync-from-ra, r=lnicola
`rust-analyzer` subtree update Subtree update of `rust-analyzer` to rust-lang/rust-analyzer@7ae18ed. Created using https://github.com/rust-lang/josh-sync. r? @ghost
2 parents bcd9ae8 + 75e1b3d commit f10db29

155 files changed

Lines changed: 4139 additions & 2760 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/tools/rust-analyzer/AI_POLICY.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ We understand that AI is useful when communicating as a non-native English speak
2323
If you are using AI to edit your comments for this purpose, please take the time to ensure it reflects your own voice and ideas.
2424
If using AI for translation, we recommend writing in your native language and including the AI translation in a quote block.
2525

26+
**AI should not be used to author code for E-easy+E-has-instructions issues**.
27+
28+
E-easy issues are usually easier for maintainers to just fix directly than write instructions for. When we write instructions for them, we do that because this provides an opportunity for newcomers to learn the codebase. Using AI to author the code for you annihilates this benefit.
29+
30+
AI *may* be used to understand the codebase for E-easy+E-has-instructions contributions, but not to write any code.
31+
2632
This policy was adapted from [uv's AI policy].
2733

2834
[uv's AI policy]: https://github.com/astral-sh/.github/blob/c5187e200db51bfe11d56e13053d29bd3793fdd8/AI_POLICY.md

0 commit comments

Comments
 (0)