Skip to content

Clippify, and hide some lints in test output #3003

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

Merged
merged 1 commit into from
Nov 30, 2024
Merged

Conversation

nyurik
Copy link
Contributor

@nyurik nyurik commented Nov 29, 2024

Happy clippy = happy developers

The test expectations generate a bunch of lints that are mostly irrelevant, at least at the moment, so might as well record them to avoid cargo clippy from reporting them.

Happy clippy = happy developers

The test expectations generate a bunch of lints that are mostly irrelevant, at least at the moment, so might as well record them to avoid `cargo clippy` from reporting them.
Copy link
Contributor

@emilio emilio left a comment

Choose a reason for hiding this comment

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

Totally fine but I don't think we should be linting our test expectations necessarily...

@emilio emilio added this pull request to the merge queue Nov 30, 2024
Merged via the queue into rust-lang:main with commit e97f4a6 Nov 30, 2024
28 checks passed
@nyurik nyurik deleted the lints2 branch November 30, 2024 00:36
@nyurik
Copy link
Contributor Author

nyurik commented Nov 30, 2024

@emilio we shouldn't lint the test results - I agree, but we also shouldn't generate the code that linter complains about... or at least minimize those complains - i.e. the generated code should confirm to at least some of the same standards as the developers :)

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