diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-01-28 05:20:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-28 05:20:18 +0100 |
| commit | fa2cd945af6bfb14c16cfaa8b74c636dfb821b48 (patch) | |
| tree | f076f9f83877cd9f6e9008c9353978a0e234a0f2 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | 260e04879ee52a768a66ad131c7bd1b56526e609 (diff) | |
| parent | b83ab0ce965356308921acabe8a40fe88bcdd8c7 (diff) | |
| download | rust-fa2cd945af6bfb14c16cfaa8b74c636dfb821b48.tar.gz rust-fa2cd945af6bfb14c16cfaa8b74c636dfb821b48.zip | |
Rollup merge of #107306 - compiler-errors:correct-sugg-for-closure-arg-needs-borrow, r=oli-obk
Correct suggestions for closure arguments that need a borrow Fixes #107301 by dealing with binders correctly Fixes another issue where we were suggesting adding just `&` when we expected `&mut _` in a closure arg
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
