about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-11-04 20:40:45 -0800
committerGitHub <noreply@github.com>2024-11-04 20:40:45 -0800
commit56aa51e67f40dc06bc7101dcac20cdfaeb1daa01 (patch)
treed178d021ccea05b989a9cdcae8fa9a14880e6e96 /compiler/rustc_codegen_llvm/src/errors.rs
parentc17cf1d84ec8fd9ba4e0a1bf739605861ed2a1a2 (diff)
parenta645342720cbfd735325f8ccef7ffbcfe988cec1 (diff)
downloadrust-56aa51e67f40dc06bc7101dcac20cdfaeb1daa01.tar.gz
rust-56aa51e67f40dc06bc7101dcac20cdfaeb1daa01.zip
Rollup merge of #132303 - nyurik:non-exhaustive-err, r=compiler-errors
More tests for non-exhaustive C-like enums in FFI

Add a few more tests for the `improper_ctypes` lint as found with the [varnish-rs](https://github.com/gquintard/varnish-rs) project.

This follows up on #116831, fixed in #116863 by ``@workingjubilee`` - I have been seeing these fail with the bindgen-generated non-exhaustive enums inside other structs. Seems the issue does not exist in the primary branch, so this PR just makes sure more cases are covered for the future.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions