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

Fix clippy config #1893

Merged
merged 1 commit into from
Nov 18, 2023
Merged

Fix clippy config #1893

merged 1 commit into from
Nov 18, 2023

Conversation

senekor
Copy link
Contributor

@senekor senekor commented Nov 18, 2023

Denying all warnings for test builds results in a poor development experience, as everying always appears as an error in the editor. The program might still compile and run fine though.

At the same time, CI only denies rustc's warnings, not those of clippy. So code that gets marked as an error in an editor can still pass CI.

Both of these issues are fixed by running clippy in CI explicitly.

Denying all warnings for test builds results in a poor development
experience, as everying always appears as an error in the editor.
The program might still compile and run fine though.

At the same time, CI only denies rustc's warnings, not those of clippy.
So code that gets marked as an error in an editor can still pass CI.

Both of these issues are fixed by running clippy in CI explicitly.
@senekor senekor requested a review from a team as a code owner November 18, 2023 10:54
@Manishearth Manishearth merged commit 427baf4 into rust-lang:master Nov 18, 2023
1 check passed
@senekor senekor deleted the clippy-config branch November 18, 2023 17:43
@dtolnay dtolnay mentioned this pull request Jan 15, 2024
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