Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #36661 - jneem:master, r=nrc
Change error message for intrinsic signature. Makes it so the signature of the intrinsic in the user's code is "found," while the signature that rustc knows about is "expected." Before this patch, the code ``` extern "platform-intrinsic" { fn x86_mm_movemask_ps() -> i32; } ``` would give the error ``` error[E0444]: platform-specific intrinsic has invalid number of arguments: found 1, expected 0 --> test.rs:4:5 | 4 | fn x86_mm_movemask_ps() -> i32; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error ``` After this patch, it says "found 0, expected 1".
- Loading branch information