Skip to content

fix: RawLoader unused qualification#51

Open
nbw wants to merge 1 commit intopedrocr:masterfrom
nbw:nbw/fix-qualification
Open

fix: RawLoader unused qualification#51
nbw wants to merge 1 commit intopedrocr:masterfrom
nbw:nbw/fix-qualification

Conversation

@nbw
Copy link

@nbw nbw commented Jul 1, 2025

Fix compile issue. Running cargo build on the project has a unused_qualifications error since the RawLoader is already imported:

error: unnecessary qualification
  --> src/lib.rs:59:34
   |
59 |   static ref LOADER: RawLoader = decoders::RawLoader::new();
   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> src/lib.rs:45:3
   |
45 |   unused_qualifications
   |   ^^^^^^^^^^^^^^^^^^^^^
help: remove the unnecessary path segments
   |
59 -   static ref LOADER: RawLoader = decoders::RawLoader::new();
59 +   static ref LOADER: RawLoader = RawLoader::new();
   |

Info

> rustc --version
rustc 1.87.0 (17067e9ac 2025-05-09)
 
> cargo --version
cargo 1.87.0 (99624be96 2025-05-06)

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.

1 participant