summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-04 00:09:02 +0000
committerbors <bors@rust-lang.org>2024-04-04 00:09:02 +0000
commitb4acbe4233b97ec51605c513ce6b215470574f80 (patch)
tree64cd10345345a9ab0a2d693f33d15e9bc86d09b0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent4fd4797c2654977f545c9a91e2aa4e6cdbb38919 (diff)
parentbd8ca780a513a42fe635c6d099ec6f4ba5c22221 (diff)
downloadrust-b4acbe4233b97ec51605c513ce6b215470574f80.tar.gz
rust-b4acbe4233b97ec51605c513ce6b215470574f80.zip
Auto merge of #123240 - compiler-errors:assert-args-compat, r=fmease
Assert that args are actually compatible with their generics, rather than just their count

Right now we just check that the number of args is right, rather than actually checking the kinds. Uplift a helper fn that I wrote from trait selection to do just that. Found a couple bugs along the way.

r? `@lcnr` or `@fmease` (or anyone really lol)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions