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(tasks): cargo clippy error on rust 1.82.0 #7283

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

shulaoda
Copy link
Contributor

I mentioned this clippy issue in the discord help channel. The problem seems to be related to using the stable rust toolchain, but when I switched to version 1.81.0, the issue was resolved.

However, some of the clippy suggestions might still be worth considering and could be adopted.

Copy link

graphite-app bot commented Nov 14, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@github-actions github-actions bot added A-ast-tools Area - AST tools C-bug Category - Bug labels Nov 14, 2024
@Boshen
Copy link
Member

Boshen commented Nov 14, 2024

We are stuck upgrading #6649

How come your rustup didn't pick up our rust-toolchain.toml?

@Boshen Boshen changed the title fix(tasks): cargo clippy error on rust stable toolchain fix(tasks): cargo clippy error on rust 1.82.0 Nov 14, 2024
@Boshen Boshen merged commit a48ebd6 into oxc-project:main Nov 14, 2024
15 checks passed
@shulaoda shulaoda deleted the fix/cargo-clippy-error branch November 14, 2024 16:16
@shulaoda
Copy link
Contributor Author

shulaoda commented Nov 14, 2024

How come your rustup didn't pick up our rust-toolchain.toml?

I contribute to many rust projects and use the stable toolchain by default. I recently cloned the oxc repository again, but I don’t know why the oxc toolchain wasn't automatically adopted. I later discovered this issue by chance.

overlookmotel added a commit that referenced this pull request Nov 14, 2024
Follow-on after #7283. Pure refactor. `rustfmt` was malfunctioning on this code for some reason. Alter the code slightly so it formats it nicely.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ast-tools Area - AST tools C-bug Category - Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants