Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fixed a typo in NoneExhaustiveFieldlessUnit #965

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test_crates/struct_becomes_enum/new/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down
2 changes: 1 addition & 1 deletion test_crates/struct_becomes_enum/old/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Loading