mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
02916a3193
Add `as_lang_item` to `LanguageItems`, new trait solver Add `as_lang_item` which turns `DefId` into a `TraitSolverLangItem` in the new trait solver, so we can turn the large chain of if statements in `assemble_builtin_impl_candidates` into a match instead. r? lcnr |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |