about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-09-16 11:17:01 +0530
committerGitHub <noreply@github.com>2022-09-16 11:17:01 +0530
commitedf9e5eb63e391edd5cb999179effa361b005c20 (patch)
tree204d7725606c27986d07f308d90ee9bc8c48e509 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent61126d3611c173fce47954fc4bf4671a8cea3ce9 (diff)
parent7794ea5854094ffa15e933750196ef7c7e0e2f3b (diff)
downloadrust-edf9e5eb63e391edd5cb999179effa361b005c20.tar.gz
rust-edf9e5eb63e391edd5cb999179effa361b005c20.zip
Rollup merge of #101753 - oli-obk:tait_closure_args, r=compiler-errors
Prefer explict closure sig types over expected ones

fixes #100800

Previously we only checked that given closure arguments are equal to expected closure arguments, but now we choose the given closure arguments for the signature that is used when type checking the closure body, and keep the other signature for the type of the closure as seen outside of it.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions