diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2023-10-16 23:56:22 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-09-19 12:56:31 -0700 |
| commit | e9cf280ef2ea4550d2305484873a63dfd133abb7 (patch) | |
| tree | a12d2691113f70c3fb8542e6abd1519e2296a1db /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 749f80ab051aa0b3724b464130440b0e70a975ac (diff) | |
| download | rust-e9cf280ef2ea4550d2305484873a63dfd133abb7.tar.gz rust-e9cf280ef2ea4550d2305484873a63dfd133abb7.zip | |
warn less about non-exhaustive in ffi
Bindgen allows generating `#[non_exhaustive] #[repr(u32)]` enums. This results in nonintuitive nonlocal `improper_ctypes` warnings, even when the types are otherwise perfectly valid in C. Adjust for actual tooling expectations by avoiding warning on simple enums with only unit variants.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
