about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-23 04:22:14 +0000
committerbors <bors@rust-lang.org>2022-09-23 04:22:14 +0000
commit77e7e88567691068f5fba288618023368882d60b (patch)
tree66c78fc878f18951488357ccf574231d170f11fe /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent9279c547c79ac840d4dd9cc40cc4e0219aabf2d4 (diff)
parent9a206a78eb1c4d73bd55432e02a5a29d871afb7c (diff)
downloadrust-77e7e88567691068f5fba288618023368882d60b.tar.gz
rust-77e7e88567691068f5fba288618023368882d60b.zip
Auto merge of #100488 - khyperia:invalid-calling-convention-help-message, r=nagisa,jyn514
Improve the help message for an invalid calling convention

Fixes https://github.com/rust-lang/rust/issues/93601

I mostly followed the suggestions of `@nagisa` in that issue, ~~however, I wasn't sure how to check stability for the suggestion of "Do not suggest CCs that cannot be used due to them being unstable and feature not being enabled", so I did not implement that point.~~

I haven't contributed to rustc much, please feel free to point out suggestions! For example, the `.map(|s| Symbol::intern(s)).collect::<Vec<_>>()` seems pretty gross performance-wise, but maybe that's OK in error reporting code.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions