Skip to content

Conversation

@Meziu
Copy link
Member

@Meziu Meziu commented Aug 15, 2024

An absolutely tiny PR to fix some annoying lints and to push the crate on a higher MSRV.

@Meziu Meziu requested a review from a team as a code owner August 15, 2024 13:27
@Meziu
Copy link
Member Author

Meziu commented Aug 15, 2024

The nightly version (2024-03-10) was chosen because newer 1.78 nightlies suffer from the bug fixed here.

@Meziu Meziu merged commit 4a15ec9 into master Aug 15, 2024
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(clippy::all)]
#![allow(unexpected_cfgs)] // Read below why we necessate a check for rust_analyzer.
Copy link
Member

Choose a reason for hiding this comment

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

I probably would have advocated for adding rust_analyzer specifically as a known cfg something like

[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(rust_analyzer)']

but not a big difference really.

I guess I'm surprised this isn't a well-known value but I guess it's rarer to set than many of those other ones

@Meziu Meziu deleted the msrv-bumper branch September 2, 2024 12:49
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.

5 participants