Skip to content

rust-analyzer

Language server for Rust.

Mostly friendly. Welcome, with extra rules.

Homepage Repository

AI tools are allowed with a human in the loop who understands the work; autonomous agents may not open PRs or issues, and AI may not write code for E-easy issues with instructions. Issues, PR bodies and comments must be in your own words; quoted AI context must be disclosed. Disclosure of AI use is requested.

Policy by area

Code contributionsPatches, pull requests and other changes written with AI tools.
Friendly
  • Contributor takes full responsibility
  • No autonomous agents
Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
Unfriendly
  • Only minor help (autocomplete, grammar)
AI-written textPull request descriptions, issue comments and summaries written by AI.
Unfriendly
  • AI use must be disclosed
  • Only minor help (autocomplete, grammar)

In their own words

Code contributions

We allow using AI (i.e., LLMs) as tools for contributing to rust-analyzer.

AI_POLICY.md

We do not allow autonomous agents to be used to open pull requests or issues to our projects.

AI_POLICY.md

AI should not be used to author code for E-easy+E-has-instructions issues.

AI_POLICY.md

Issues & bug reports

If you are opening an issue, we expect you to describe the problem in your own words.

AI_POLICY.md

AI-written text

AI should not be used to generate comments when communicating with maintainers.

AI_POLICY.md

If you wish to include context from an interaction with AI in your comments, it must be in a quote block (e.g., using `>`) and disclosed as such.

AI_POLICY.md

Sources

  • AI_POLICY.mdgithub.com/rust-lang/rust-analyzer/blob/master/AI_POLICY.mdSnapshot 10 Oct 2026