diff options
| author | bors <bors@rust-lang.org> | 2022-09-23 04:22:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-23 04:22:14 +0000 |
| commit | 77e7e88567691068f5fba288618023368882d60b (patch) | |
| tree | 66c78fc878f18951488357ccf574231d170f11fe /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 9279c547c79ac840d4dd9cc40cc4e0219aabf2d4 (diff) | |
| parent | 9a206a78eb1c4d73bd55432e02a5a29d871afb7c (diff) | |
| download | rust-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
