about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2023-11-11 04:32:32 +0000
committerEsteban Küber <esteban@kuber.com.ar>2023-11-29 18:55:00 +0000
commitdfe32b6a432523d29550dc302b297028ca01e8f1 (patch)
tree14e02af3ea9618b97811df1f2c4a8a85cc477b0c /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentabe34e9ab14c0a194152b4f9acc3dcbb000f3e98 (diff)
downloadrust-dfe32b6a432523d29550dc302b297028ca01e8f1.tar.gz
rust-dfe32b6a432523d29550dc302b297028ca01e8f1.zip
On Fn arg mismatch for a fn path, suggest a closure
When encountering a fn call that has a path to another fn being passed
in, where an `Fn` impl is expected, and the arguments differ, suggest
wrapping the argument with a closure with the appropriate arguments.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions