chore: enforce clippy::allow_attributes for datafusion-ffi crate#19480
chore: enforce clippy::allow_attributes for datafusion-ffi crate#19480Jefffrey merged 4 commits intoapache:mainfrom
Conversation
Jefffrey
left a comment
There was a problem hiding this comment.
It seems surprising to me that we can just remove #[allow(non_camel_case_types)] and clippy doesn't complain 🤔
Seems like the non_camel_case_types is default allowed in our project 🫨 |
|
Thanks @chakkk309 |
|
@chakkk309 something interesting is that the CI passes, but my Rust Analyzer still complains about the lint 🤔 I wonder if we should roll this back Edit: or is it only on my machine? For reference I'm using Helix, would be good to see if others face this issue |
I'm looking into this more, it seems a bug with how |
|
Raised PR to rust analyzer: rust-lang/rust-analyzer#21374 We should keep our code as is for now (no need to rollback), since I don't think it's an issue with rustc or clippy, only rust analyzer |
|
FWIW you can disable the rust-analyzer lint (locally, or for this project) by setting rust-analyzer.diagnostics.disabled to |
TIL, thanks! |
Which issue does this PR close?
Part of #18881
Rationale for this change
Implement clippy::allow_attributes lint datafusion-ffi crate
What changes are included in this PR?
datafusion-ffi crate modified
Are these changes tested?
Yes
Are there any user-facing changes?
No