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

Use #[expect(...)] instead of #[allow(...)] in some places #1073

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danielocfb
Copy link
Collaborator

Use the #[expect(...)] attribute instead of #[allow(...)] in a bunch of places where we only have the attribute to silence a lint. The former makes sure that the silenced issue is actually flagged, or prints a warning otherwise.

Unverified

This user has not yet uploaded their public signing key.
Use the #[expect(...)] attribute instead of #[allow(...)] in a bunch of
places where we only have the attribute to silence a lint. The former
makes sure that the silenced issue is actually flagged, or prints a
warning otherwise.

Signed-off-by: Daniel Müller <deso@posteo.net>
@danielocfb
Copy link
Collaborator Author

This requires Rust 1.81 and, hence, will have to wait until 1.86 is released, as per our MSRV policy.

Copy link

This pull request is considered stale because it has been open 30 days with no activity. Remove stale label or comment or it will be closed in 5 days.

@github-actions github-actions bot added the Stale label Feb 21, 2025
@d-e-s-o d-e-s-o removed the Stale label Feb 21, 2025
Copy link

This pull request is considered stale because it has been open 30 days with no activity. Remove stale label or comment or it will be closed in 5 days.

@github-actions github-actions bot added the Stale label Mar 24, 2025
@d-e-s-o d-e-s-o removed the Stale label Mar 24, 2025
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.

None yet

2 participants