mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 07:35:39 +00:00
It only needs `Self::Value` and `Self::Type`, so it can be a subtrait of `BackendTypes`. That is a smaller and simpler trait than `HasCodegen` (which includes `BackendTypes` and a lot more).
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.