about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-08-14 21:43:08 +0800
committerGitHub <noreply@github.com>2024-08-14 21:43:08 +0800
commit220091065939771e2e35a9c1ed783511d88afc0e (patch)
tree2f7ef78cd6df430ad000523124394dc1137271c9 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent049b3e549ebb4ba30584ea3cf3628151398b0699 (diff)
parent5df13af56fb1e4454a057e62d96f7bf2a331a563 (diff)
downloadrust-220091065939771e2e35a9c1ed783511d88afc0e.tar.gz
rust-220091065939771e2e35a9c1ed783511d88afc0e.zip
Rollup merge of #129059 - compiler-errors:subtyping-correct-type, r=lcnr
Record the correct target type when coercing fn items/closures to pointers

Self-explanatory. We were previously not recording the *target* type of a coercion as the output of an adjustment. This should remedy that.

We must also modify the function pointer casts in MIR typeck to use subtyping, since those broke since #118247.

r? lcnr
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions