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

ci: fix new lints, introduced in 1.78 #1181

Merged
merged 3 commits into from
May 21, 2024
Merged

ci: fix new lints, introduced in 1.78 #1181

merged 3 commits into from
May 21, 2024

Conversation

dj8yfo
Copy link
Contributor

@dj8yfo dj8yfo commented May 7, 2024

this new lint was silenced , it introduces 30+ locations to fix: https://rust-lang.github.io/rust-clippy/master/index.html#/multiple_bound_locations ; it has no automatic fix yet with cargo clippy --fix

@@ -16,6 +16,7 @@ pub struct DeFi {
}

// Have to repeat the same trait for our own implementation.
#[allow(dead_code)]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

value_please on line 57 is called on DeFiExt , so the lint is correct here

@dj8yfo dj8yfo marked this pull request as ready for review May 7, 2024 17:02
@PolyProgrammist
Copy link
Contributor

Looks perfect.
I would also consider fixing multiple_bound_locations instead of applying #![allow(clippy::multiple_bound_locations)].

@frol frol enabled auto-merge (squash) May 21, 2024 16:12
@frol frol disabled auto-merge May 21, 2024 16:41
@frol frol merged commit 018bc3d into near:master May 21, 2024
15 checks passed
@frol frol mentioned this pull request May 21, 2024
@frol frol mentioned this pull request Jun 4, 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

3 participants