about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-06-01 00:35:53 +0200
committerGitHub <noreply@github.com>2025-06-01 00:35:53 +0200
commit542dcbf6a20709f40c72b87f42be36325dba0ab3 (patch)
tree57f47f344b76aeb9731b998b409625cb952a2dad /compiler/rustc_codegen_llvm/src
parentac49339e03d93308bcf597cf1802768e79417688 (diff)
parentb1a1df2efe0a2d3af7d71566d09d4724a89e039a (diff)
downloadrust-542dcbf6a20709f40c72b87f42be36325dba0ab3.tar.gz
rust-542dcbf6a20709f40c72b87f42be36325dba0ab3.zip
Rollup merge of #141812 - JonathanBrouwer:fix-else-if-help, r=jdonszelmann
Fix "consider borrowing" for else-if

Fixes rust-lang/rust#141810

When trying to suggest a borrow on a `if` or `block` expression, instead we now recurse into the `if` or `block`.
The comments in the code should explain the goal of the new code.

r? ``@jdonszelmann``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions