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

Allow assigning_clones #118

Closed
wants to merge 1 commit into from

Conversation

tcharding
Copy link
Collaborator

clone_into is only available in Rust 1.63 and since our MSRV is Rust 1.48 just shoosh clippy

`clone_into` is only available in Rust 1.63 and since our MSRV is Rust
1.48 just shoosh clippy
@tcharding tcharding mentioned this pull request May 17, 2024
@tcharding
Copy link
Collaborator Author

Can we merge this with red CI? Its the cfg thing, needs nightly pin which is done in #119 but #119 needs this one.

@apoelstra
Copy link
Owner

clone_into is only available in Rust 1.63 and since our MSRV is Rust 1.48 just shoosh clippy

Is there a bug about clone_into lint not respecting the MSRV in clippy.toml?

@apoelstra
Copy link
Owner

There is, which was fixed 2 months ago: rust-lang/rust-clippy#12502

The lint has also been moved to "pedantic" and allow-by-default. https://rust-lang.github.io/rust-clippy/master/index.html#/assigning_clones

I'm confused as to why it's affecting us now.

@apoelstra
Copy link
Owner

Oh, I see, this made it into stable :(.

@apoelstra
Copy link
Owner

@tcharding let's do a global whitelist of this lint since it's broken, and that is not specific to any codepath.

@tcharding
Copy link
Collaborator Author

Now in #121

@tcharding tcharding closed this May 31, 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