mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-27 14:24:08 +00:00
![]() 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 |