about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-11-21 11:58:39 +0100
committerGitHub <noreply@github.com>2024-11-21 11:58:39 +0100
commitc064f6e1fc5e807b6c811205fb23f72bfce61d84 (patch)
tree0966e58dfab5c5e86b75afc04f7239822b0b4d29 /compiler/rustc_codegen_llvm/src
parent379b22123c1643eb4b48b852240d1dbf96ec6a46 (diff)
parentcbacb6d93108a7e5156c8b37d1a78f0dca351606 (diff)
downloadrust-c064f6e1fc5e807b6c811205fb23f72bfce61d84.tar.gz
rust-c064f6e1fc5e807b6c811205fb23f72bfce61d84.zip
Rollup merge of #132489 - compiler-errors:fn-sugg-tweaks, r=BoxyUwU
Fix closure arg extraction in `extract_callable_info`, generalize it to async closures

* Fix argument extraction in `extract_callable_info`
* FIx `extract_callable_info` to work for async closures
* Remove redundant `is_fn_ty` which is just a less general `extract_callable_info`
* More precisely name what is being called (i.e. call it a "closure" not a "function")

Review this without whitespace -- I ended up reformatting `extract_callable_info` because some pesky `//` comments were keeping the let-chains from being formatted.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions