Skip to content

Conversation

siretart
Copy link

@siretart siretart commented Jul 6, 2024

Follow suggestsions from the compiler.

Disable clippy::all lints for now

Fixes: #152
Signed-off-by: Reinhard Tartler [email protected]

Follow suggestsions from the compiler.

Disable clippy::all lints for now

Signed-off-by: Reinhard Tartler <[email protected]>
categories = ["encoding"]
edition = "2018"
rust-version = "1.66.0"
rust-version = "1.78.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

We maintain this MSRV for all parsec projects, so we need to keep it at 1.66. Can you please revert this?

fi
if cargo clippy -h
then
cargo clippy --all-targets -- -D clippy::all -D clippy::cargo
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this?

Copy link
Contributor

Choose a reason for hiding this comment

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

Tried it locally and I see new failures with clippy::all.
The errors are particularly of 2 types occurring at multiple places. It would be better to get rid of them instead of dropping this check here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Would you be able to fix them in this PR please?

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.

Fails to build with rustc 1.78

2 participants