Skip to main content
在 Manus 中运行任何 Skill
一键导入

next-trait-solver

星标3
分支0
更新时间2026年5月21日 13:08

Guide to rustc's next-generation trait solver architecture (rustc_next_trait_solver + rustc_type_ir). Use when designing or implementing trait/impl resolution, type normalization, where-clause proving, or evaluating whether to integrate vs. reimplement the solver. Covers the full model: Interner trait, SolverDelegate, EvalCtxt, candidate assembly, canonicalization, search graph cycle detection, associated type normalization, and the NormalizesTo/AliasRelate split. Use whenever the user is working on trait solving, obligation discharge, or coherence checking — especially in the context of building an alternative Rust frontend or analysis tool.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly