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 unused import error in LoadedPrograms #31116

Merged
merged 1 commit into from
Apr 8, 2023

Conversation

pgarg66
Copy link
Contributor

@pgarg66 pgarg66 commented Apr 8, 2023

Problem

Seeing this warning while building on MacOS.

 --> program-runtime/src/loaded_programs.rs:8:9
  |
8 |         error::EbpfError,
  |         ^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

Summary of Changes

Move import under the requied config flag.

Fixes #

@codecov
Copy link

codecov bot commented Apr 8, 2023

Codecov Report

Merging #31116 (4e32198) into master (2630f85) will not change coverage.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           master   #31116   +/-   ##
=======================================
  Coverage    81.5%    81.5%           
=======================================
  Files         728      728           
  Lines      205783   205783           
=======================================
  Hits       167805   167805           
  Misses      37978    37978           

@pgarg66 pgarg66 merged commit 2613ad7 into solana-labs:master Apr 8, 2023
@pgarg66 pgarg66 deleted the unused-import branch April 8, 2023 07:31
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