rust
Empowering everyone to build reliable and efficient software
What XERJ indexed
Snapshot
Only compiler/rustc_hir_analysis/src, tests/ui/delegation/generics at commit 2b90a47296 (2026-10-12). main is 2,813 commits ahead.
Selected work

“fix delegation generic parameter remapping ICEs”. 6 files, 291 lines in compiler, tests.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-18. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
rustcompilerlanguage
Example questions
- How does rust implement compiler?
- Where does rust handle “fix delegation generic parameter remapping ICEs”?
- What does compiler do in rust?
Inside the indexed corpus
- Languages by size: Rust 90.6%, HTML 6.3%, Shell 0.8%, C 0.7%, JavaScript 0.5%.
- On GitHub since 2010-06-16, last push 2026-10-31, 345,200 commits on main.
- The pin is 2,813 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for rust-lang/rust on 2026-10-31, but the LICENSE file at commit 2b90a47296 was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.
Contributors
abhinav (@paradoxicalguy) has 1 selected repository on the hub.
Using XERJ with rust
- How do I run syntax-aware code search? rust is tagged compiler on GitHub.
- XERJ vs ast-grep: syntax search and an index
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones rust-lang/rust at the pinned commit and indexes it on your machine.
Search the GitHub repository rust-lang/rust with XERJ (https://hub.xerj.org/corpus/rust-lang--rust). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/rust-lang/rust rust && git -C rust checkout 2b90a47296c3a909afe7c725749c409cd3747d99 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./rust --url http://127.0.0.1:9200 --prefix rust --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: check the LICENSE file. Keep the copyright notice and credit the authors.
Related
abhinav API design and specification corporaoxclightningcssrspackzavvdev/elise-langIgnis-lang/igniskcl-lang/kcl
Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.