Merge pull request #21314 from Veykril/push-kywtpqlnwztr

Add 'Use of AI tools' section to CONTRIBUTING.md
This commit is contained in:
Lukas Wirth 2025-12-21 12:35:00 +00:00 committed by GitHub
commit 7fdd04bdb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,3 +28,11 @@ possibility of someone putting a lot of work into a feature that is then going t
it out of scope (be it due to generally not fitting in with rust-analyzer, or just not having the
maintenance capacity). If there already is a feature issue open but it is not clear whether it is
considered accepted feel free to just drop a comment and ask!
## Use of AI tools
AI tool use is not discouraged on the rust-analyzer codebase, as long as it meets our quality standards.
We kindly ask you to disclose usage of AI tools in your contributions.
If you used them without disclosing it, we may reject your contribution on that basis alone due to the assumption that you likely not reviewed your own submission (so why should we?).
We may still reject AI-assisted contributions if we deem the quality of the contribution to be unsatisfactory as to reduce impact on the team's review budget.