Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add compile_fail test for on purpose limited bounds #393

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

JelteF
Copy link
Owner

@JelteF JelteF commented Aug 4, 2024

Resolves #392
Related to #371

Synopsis

Before #371 this code would compile without any issues, but that would actually
hide the problem that the resulting Debug implementation was never
applicable, because the bounds could not be satisfied.

Solution

This problem was already solved by #371, but this adds a test case to ensure
that we don't regress here again.

Checklist

  • Tests are added/updated (if required)

@JelteF JelteF self-assigned this Aug 4, 2024
@JelteF JelteF requested a review from tyranron August 4, 2024 09:20
@tyranron tyranron added this to the 1.0.0 milestone Aug 5, 2024
@tyranron tyranron merged commit e8d60cf into master Aug 5, 2024
17 checks passed
@tyranron tyranron deleted the lifetime-no-debug-test branch August 5, 2024 10:28
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.

Regression in v1.0.0-beta.7
2 participants