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

Fix nightly compilation #234

Merged
merged 2 commits into from
Feb 22, 2024
Merged

Fix nightly compilation #234

merged 2 commits into from
Feb 22, 2024

Conversation

ctz
Copy link
Member

@ctz ctz commented Feb 22, 2024

This fixes compilation with nightly, which just got better at detecting redundant imports: rust-lang/rust#117772

Mostly from @cpu/cpu-fix-nightly-clippy

Instead, in tests manually import the prelude when needed.
This also implies separate imports for macros.
Copy link
Member

@cpu cpu left a comment

Choose a reason for hiding this comment

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

Looks like we were racing to get a branch ready and you won 😆

Thanks!

Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (70818be) 97.14% compared to head (f2fdd3d) 97.14%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #234   +/-   ##
=======================================
  Coverage   97.14%   97.14%           
=======================================
  Files          19       19           
  Lines        4336     4336           
=======================================
  Hits         4212     4212           
  Misses        124      124           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cpu cpu enabled auto-merge February 22, 2024 14:43
@cpu cpu added this pull request to the merge queue Feb 22, 2024
Merged via the queue into main with commit ba3f15f Feb 22, 2024
56 of 58 checks passed
@cpu cpu deleted the jbp-cpu-fix-nightly-clippy branch February 22, 2024 14:50
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.

2 participants