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 Rust 1.75 warnings #372

Merged
merged 2 commits into from
Dec 31, 2023

Conversation

michaelsutton
Copy link
Contributor

@michaelsutton michaelsutton commented Dec 31, 2023

Usually pub use imports should not be a warning as they are intended for public usage, however the compiler is right about all these: they are all not actually exposed on the crate level (nor used within the crate). See for reference rust-lang/rust#117120 (comment)

…ests --benches --features devnet-prealloc`

note that all these `pub use` were not really exposed publicly on the crate level
@michaelsutton michaelsutton merged commit 5fd2da1 into kaspanet:master Dec 31, 2023
6 checks passed
KashProtocol pushed a commit to Kash-Protocol/rusty-kash that referenced this pull request Jan 5, 2024
* fix new unused imports warns by running `cargo clippy --fix --all --tests --benches --features devnet-prealloc`
note that all these `pub use` were not really exposed publicly on the crate level

* fix `variant name ends with the enum's name` warnings
KashProtocol pushed a commit to Kash-Protocol/rusty-kash that referenced this pull request Jan 8, 2024
* fix new unused imports warns by running `cargo clippy --fix --all --tests --benches --features devnet-prealloc`
note that all these `pub use` were not really exposed publicly on the crate level

* fix `variant name ends with the enum's name` warnings
KashProtocol pushed a commit to Kash-Protocol/rusty-kash that referenced this pull request Jan 9, 2024
* fix new unused imports warns by running `cargo clippy --fix --all --tests --benches --features devnet-prealloc`
note that all these `pub use` were not really exposed publicly on the crate level

* fix `variant name ends with the enum's name` warnings
D-Stacks pushed a commit to D-Stacks/rusty-kaspa that referenced this pull request Jan 23, 2024
* fix new unused imports warns by running `cargo clippy --fix --all --tests --benches --features devnet-prealloc`
note that all these `pub use` were not really exposed publicly on the crate level

* fix `variant name ends with the enum's name` warnings
smartgoo pushed a commit to smartgoo/rusty-kaspa that referenced this pull request Jun 18, 2024
* fix new unused imports warns by running `cargo clippy --fix --all --tests --benches --features devnet-prealloc`
note that all these `pub use` were not really exposed publicly on the crate level

* fix `variant name ends with the enum's name` warnings
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