diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2023-11-11 04:32:32 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2023-11-29 18:55:00 +0000 |
| commit | dfe32b6a432523d29550dc302b297028ca01e8f1 (patch) | |
| tree | 14e02af3ea9618b97811df1f2c4a8a85cc477b0c /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | abe34e9ab14c0a194152b4f9acc3dcbb000f3e98 (diff) | |
| download | rust-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
