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 error repoted by clippy 0.1.78 #52

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Conversation

OuyangHang33
Copy link
Collaborator

Fix: #44

Version: clippy 0.1.78 (4a0cc88 2024-03-11)
cargo clippy -- -D warnings -A clippy::only-used-in-recursion -A incomplete-features -A clippy::bad_bit_mask -A clippy::derivable_impls

Signed-off-by: OuyangHang33 <hank.ouyang@intel.com>
@OuyangHang33 OuyangHang33 marked this pull request as ready for review March 13, 2024 01:53
@jyao1 jyao1 merged commit 1cebe27 into ccc-spdm-tools:main Mar 13, 2024
50 checks passed
@OuyangHang33
Copy link
Collaborator Author

still need to fix this kind of error:
error: the item Box is imported redundantly
--> executor/src/executor.rs:9:13
|
9 | alloc::{boxed::Box, collections::vec_deque::VecDeque, sync::Arc},
| ^^^^^^^^^^
|
::: /home/xiaoyu/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:125:13
|
125 | pub use super::v1::*;
| --------- the item Box is already defined here
|
= note: -D unused-imports implied by -D warnings
= help: to override -D warnings add #[allow(unused_imports)]

@OuyangHang33 OuyangHang33 deleted the i44 branch March 14, 2024 06:48
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.

Check failed with the latest version of cargo clippy
2 participants