Skip to content

ci(rust): suppress unused features error for unstable non_exhaustive_omitted_patterns_lint only used in arrow_ffi#4055

Merged
lidavidm merged 5 commits intoapache:mainfrom
eitsupi:rust/fix-nightly-clippy
Mar 8, 2026
Merged

ci(rust): suppress unused features error for unstable non_exhaustive_omitted_patterns_lint only used in arrow_ffi#4055
lidavidm merged 5 commits intoapache:mainfrom
eitsupi:rust/fix-nightly-clippy

Conversation

@eitsupi
Copy link
Copy Markdown
Contributor

@eitsupi eitsupi commented Mar 7, 2026

It seems that the latest nightly toolchain has tightened detection of unused features.
Currently, unstable non_exhaustive_omitted_patterns is only used in adbc_ffi (#3245), so it seems necessary allow(unused_features) for the other workspace members.

This change fixes the Rust CI failure seen in recent PRs.

@eitsupi eitsupi changed the title ci(rust): remove unused flag for nightly clippy ci(rust): only enable non_exhaustive_omitted_patterns_lint for arrow_ffi with nightly clippy Mar 7, 2026
@eitsupi eitsupi changed the title ci(rust): only enable non_exhaustive_omitted_patterns_lint for arrow_ffi with nightly clippy ci(rust): suppress unused features error for unstable non_exhaustive_omitted_patterns_lint only used in arrow_ffi Mar 7, 2026
@eitsupi eitsupi marked this pull request as ready for review March 7, 2026 05:08
@eitsupi
Copy link
Copy Markdown
Contributor Author

eitsupi commented Mar 7, 2026

I confirmed with bd23ca1 that this can correctly detect non exhaustive omitted patterns.

@lidavidm lidavidm merged commit e3b6942 into apache:main Mar 8, 2026
8 of 10 checks passed
@eitsupi eitsupi deleted the rust/fix-nightly-clippy branch March 8, 2026 11:09
@lidavidm lidavidm added this to the ADBC Libraries 23 milestone Apr 3, 2026
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.

3 participants