rust/compiler/rustc_lint
Jubilee Young e9cf280ef2 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.
2024-09-19 12:56:31 -07:00
..
src warn less about non-exhaustive in ffi 2024-09-19 12:56:31 -07:00
Cargo.toml non_local_defs: point to Self and Trait to give more context 2024-05-27 23:59:18 +02:00
messages.ftl simplify the suggestion notes 2024-09-13 02:43:49 +08:00