Skip to content

Make clippy happy#11867

Closed
0xPoe wants to merge 1 commit into
rust-lang:masterfrom
0xPoe:rustin-patch-clippy
Closed

Make clippy happy#11867
0xPoe wants to merge 1 commit into
rust-lang:masterfrom
0xPoe:rustin-patch-clippy

Conversation

@0xPoe

@0xPoe 0xPoe commented Mar 18, 2023

Copy link
Copy Markdown
Member

Follow up #11828

r? @weihanglo

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 18, 2023
@weihanglo

Copy link
Copy Markdown
Member

Sorry I am confused. Did it complain? I thought tests were excluded from clippy check in CI.

@0xPoe

0xPoe commented Mar 18, 2023

Copy link
Copy Markdown
Member Author

Sorry I am confused. Did it complain? I thought tests were excluded from clippy check in CI.

Yes. It only complains when I run it locally. Run cargo clippy --all --all-targets.

@weihanglo weihanglo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. We have yet enable clippy for all cargo targets. There is a plan to clippyy all crates in this repository after it becomes a workspace (#11851).

Besides, I feel like we should allow std::env throughout the whole integration test. What do people think?

@0xPoe

0xPoe commented Mar 19, 2023

Copy link
Copy Markdown
Member Author

Besides, I feel like we should allow std::env throughout the whole integration test. What do people think?

Yes, I agree. It makes sense to ignore it in tests.

@0xPoe

0xPoe commented Mar 23, 2023

Copy link
Copy Markdown
Member Author

Closed by #11851

@0xPoe 0xPoe closed this Mar 23, 2023
@epage epage mentioned this pull request Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants