diff --git a/test_crates/struct_becomes_enum/new/src/lib.rs b/test_crates/struct_becomes_enum/new/src/lib.rs index 289d521b..67dedebc 100644 --- a/test_crates/struct_becomes_enum/new/src/lib.rs +++ b/test_crates/struct_becomes_enum/new/src/lib.rs @@ -92,7 +92,7 @@ impl NonExhaustiveEmptyStructToEnum { // The following structs are also not externally-constructible due to `#[non_exhaustive]`. #[non_exhaustive] -pub enum NoneExhaustiveFieldlessUnit { +pub enum NonExhaustiveFieldlessUnit { Var, } diff --git a/test_crates/struct_becomes_enum/old/src/lib.rs b/test_crates/struct_becomes_enum/old/src/lib.rs index 4cf3a0c2..85a269cb 100644 --- a/test_crates/struct_becomes_enum/old/src/lib.rs +++ b/test_crates/struct_becomes_enum/old/src/lib.rs @@ -92,7 +92,7 @@ impl NonExhaustiveEmptyStructToEnum { // The following structs are also not externally-constructible due to `#[non_exhaustive]`. #[non_exhaustive] -pub struct NoneExhaustiveFieldlessUnit; +pub struct NonExhaustiveFieldlessUnit; #[non_exhaustive] pub struct NonExhaustiveFieldlessTuple();