diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-06-17 11:28:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-17 11:28:53 +0200 |
| commit | 9f5e2e314c3a6cf321c193506e9ea9f4b3a920b1 (patch) | |
| tree | bf0dfd8b825f42c8e6e1f412e019e37e6eef1e7a /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | fd7eefc2753e867053a1c567a7b504ae308e3f85 (diff) | |
| parent | e47ea38da854eea3aebd35b43e3a4dfc7d25c651 (diff) | |
| download | rust-9f5e2e314c3a6cf321c193506e9ea9f4b3a920b1.tar.gz rust-9f5e2e314c3a6cf321c193506e9ea9f4b3a920b1.zip | |
Rollup merge of #126226 - gurry:125325-improve-closure-arg-sugg, r=oli-obk
Make suggestion to change `Fn` to `FnMut` work with methods as well Fixes #125325 The issue occurred because the code that emitted the suggestion to change `Fn` to `FnMut` worked only for function calls and not method calls. This PR makes it work with methods as well.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
