os-rust/tests/ui/rfcs/rfc-2008-non-exhaustive
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
..
auxiliary Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
improper_ctypes warn less about non-exhaustive in ffi 2024-09-19 12:56:31 -07:00
uninhabited Add a machine-applicable suggestion to "unreachable pattern" 2024-09-13 21:01:29 +02:00
borrowck-exhaustive.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
borrowck-non-exhaustive.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
borrowck-non-exhaustive.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
enum-as-cast.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
enum-as-cast.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
enum.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
enum.stderr Improve clarity of diagnostic message on non-exhaustive matches 2023-09-03 19:55:11 +08:00
enum_same_crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
enum_same_crate_empty_match.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
enum_same_crate_empty_match.stderr Add a machine-applicable suggestion to "unreachable pattern" 2024-09-13 21:01:29 +02:00
invalid-attribute.rs Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
invalid-attribute.stderr Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
omitted-patterns-dont-lint-on-arm.lint.stderr Suggest to set lint level on whole match 2023-11-04 14:44:00 +01:00
omitted-patterns-dont-lint-on-arm.normal.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
omitted-patterns-dont-lint-on-arm.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
omitted-patterns.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
omitted-patterns.stderr Add some tests 2023-11-22 02:14:42 +01:00
stable-omitted-patterns.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
stable-omitted-patterns.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
struct.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct.stderr Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
structs_same_crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
variant.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
variant.stderr Better group RFC ui tests together 2023-06-05 16:09:46 +00:00
variants_fictive_visibility.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
variants_same_crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00