Skip to content

Fix nightly compilation#234

Merged
cpu merged 2 commits intomainfrom
jbp-cpu-fix-nightly-clippy
Feb 22, 2024
Merged

Fix nightly compilation#234
cpu merged 2 commits intomainfrom
jbp-cpu-fix-nightly-clippy

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

cpu added 2 commits February 22, 2024 14:40
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!

@codecov
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
@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