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

lib: fix false positive dead_code trait #387

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Conversation

cpu
Copy link
Member

@cpu cpu commented Feb 14, 2024

The OwnershipMarker trait is used as an associated type in other traits, serving as a marker. Clippy nightly thinks it is unused. This commit adds an allow dead_code annotation to fix that finding.

Possible this should be raised upstream but for now let's fix our build with the annotation.

The `OwnershipMarker` trait is used as an associated type in other
traits, serving as a marker. Clippy nightly thinks it is unused. This
commit adds an allow dead_code annotation to fix that finding.
@cpu cpu self-assigned this Feb 14, 2024
@cpu cpu requested a review from ctz February 28, 2024 19:07
@cpu cpu merged commit b34f6f9 into rustls:main Feb 28, 2024
21 checks passed
@cpu cpu deleted the cpu-fix-unused-trait branch February 28, 2024 19:26
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