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

Slight MSRV bump and lint fixing #192

Merged
merged 4 commits into from
Aug 15, 2024
Merged

Slight MSRV bump and lint fixing #192

merged 4 commits into from
Aug 15, 2024

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
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
4 checks passed
@@ -3,6 +3,7 @@
#![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.

4 participants