about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-03 17:26:54 +0200
committerGitHub <noreply@github.com>2024-07-03 17:26:54 +0200
commit02916a3193b87c1472e6afa0a2bd817ef34b7d56 (patch)
tree3ba2c1536dd7778d74616bfb189fb0880ec326fa /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent444a0ff64edcd802d25c002b539bd31f293f5342 (diff)
parent5a837515f28eed106dd031b0243d6476eba58dd9 (diff)
downloadrust-02916a3193b87c1472e6afa0a2bd817ef34b7d56.tar.gz
rust-02916a3193b87c1472e6afa0a2bd817ef34b7d56.zip
Rollup merge of #127145 - compiler-errors:as_lang_item, r=lcnr
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions