about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-01-28 05:20:18 +0100
committerGitHub <noreply@github.com>2023-01-28 05:20:18 +0100
commitfa2cd945af6bfb14c16cfaa8b74c636dfb821b48 (patch)
treef076f9f83877cd9f6e9008c9353978a0e234a0f2 /compiler/rustc_codegen_gcc/example/std_example.rs
parent260e04879ee52a768a66ad131c7bd1b56526e609 (diff)
parentb83ab0ce965356308921acabe8a40fe88bcdd8c7 (diff)
downloadrust-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