Fix clippy warnings - #1233
Conversation
| with: | ||
| components: clippy | ||
| - name: Run clippy | ||
| run: cargo clippy --all-targets --features ${{ matrix.features }} -- -D warnings |
There was a problem hiding this comment.
Does this explain what the user needs to do to pass or just fail?
There was a problem hiding this comment.
The clippy messages are pretty helpful, so I think the answer is yes
|
I don't know why but I get a lot more clippy failures locally using the same command. It makes fixing this a bit annoying. Any idea why? Is the version not constrained enough? |
|
Do you have an example? It might just be a different toolchain than juliaup/.github/workflows/clippy.yml Line 33 in 4d981b4 Or maybe you are enabling the windows features (or |
|
On macOS on #1237 which is currently passing clippy CI |
|
Actually maybe your rust toolchain is newer? The message "error: variables can be used directly in the I'm on stable |
|
Oh wait I have that lint too. But it's not enabled by default, I have to explicitly turn it on. Do you have a clippy config or something that enables the stricter ones? |

This also adds a new CI workflow that fails upon new clippy warnings