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

Enable clippy::unwrap_used lint #18695

Open
jszwedko opened this issue Sep 27, 2023 · 0 comments
Open

Enable clippy::unwrap_used lint #18695

jszwedko opened this issue Sep 27, 2023 · 0 comments
Labels
domain: dev Anything related to Vector's development environment

Comments

@jszwedko
Copy link
Member

We'd like to enable the clippy::unwrap_used lint to avoid accidental usages of unwrap that end up causing panics like the one behind the regression reported by #18340.

As part of this, since we have ~500 existing usages, we'd like to just add allow annotations on them to allow us to migrate them over time while flagging new introductions of unwrap.

@jszwedko jszwedko added the domain: dev Anything related to Vector's development environment label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: dev Anything related to Vector's development environment
Projects
None yet
Development

No branches or pull requests

1 participant