Skip to content

Don't use [!Default; 0]: Default impl#1

Merged
PsichiX merged 1 commit intoPsichiX:masterfrom
WaffleLapkin:undefault
Oct 26, 2025
Merged

Don't use [!Default; 0]: Default impl#1
PsichiX merged 1 commit intoPsichiX:masterfrom
WaffleLapkin:undefault

Conversation

@WaffleLapkin
Copy link
Copy Markdown
Contributor

See rust-lang/rust#145457, we want to remove unconditional impl [T; 0]: Default. That would be a breaking change breaking this crate.

This PR fixes it so it will compile with future rustc versions (if we proceed to remove that unconditional impl).

Copy link
Copy Markdown
Owner

@PsichiX PsichiX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@PsichiX PsichiX merged commit 0505617 into PsichiX:master Oct 26, 2025
@WaffleLapkin WaffleLapkin deleted the undefault branch October 26, 2025 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants