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

clippy: remove some unused code beta clippy/rustc compain about #3331

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

ilyagr
Copy link
Contributor

@ilyagr ilyagr commented Mar 19, 2024

There are still some warnings from (seemingly) clippy bugs. Quoting myself from Discord:

PSA: the latest beta cargo clippy (from Rust 1.78) has some problems
that affect jj: rust-lang/rust-clippy#12467
and rust-lang/rust-clippy#12377. You could
disable clippy::assigning_clones and clippy::empty_docs as a workaround.
VS Code can disable them in rust-analyzer, you can also use
https://github.com/ericseppanen/cargo-cranky (you can put Cranky.toml in
the per-user gitignore).

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added tests to cover my changes

There are still some warnings from (seemingly) clippy bugs. Quoting
myself from Discord:

> PSA: the latest beta cargo clippy (from Rust 1.78) has some problems
> that affect jj: rust-lang/rust-clippy#12467
> and rust-lang/rust-clippy#12377.  You could
> disable clippy::assigning_clones and clippy::empty_docs as a workaround.
> VS Code can disable them in rust-analyzer, you can also use
> https://github.com/ericseppanen/cargo-cranky (you can put Cranky.toml in
> the per-user gitignore).
@ilyagr ilyagr marked this pull request as ready for review March 20, 2024 00:00
@ilyagr ilyagr merged commit 4fbe6ae into jj-vcs:main Mar 20, 2024
16 checks passed
@ilyagr ilyagr deleted the clippy branch March 20, 2024 01:33
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