about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorakida31 <akida3@protonmail.com>2022-10-08 15:48:28 +0200
committerakida31 <akida3@protonmail.com>2022-12-13 16:24:38 +0100
commit1e5d7724173c2ff16e1eacbb6b09e66daa0794e3 (patch)
tree465df0cf30f3dcee43fba36b8c839ce2f8edf82e /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent109cccbe4f345c0f0785ce860788580c3e2a29f5 (diff)
downloadrust-1e5d7724173c2ff16e1eacbb6b09e66daa0794e3.tar.gz
rust-1e5d7724173c2ff16e1eacbb6b09e66daa0794e3.zip
Improve diagnostic when passing arg to closure and missing borrow.
This checks the number of references for the given and expected type and
shows hints to the user if the numbers don't match.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions