-
Given how our codebase has grown, it no longer makes sense to run clippy on each individual package. We should instead have one check that runs `cargo clippy --workspace -- -D warnings` (and similar f…
-
It seems `clippy` is complaining at multiple places.
```
$ cargo clippy
Checking teleport v0.1.0 (/home/mojox911/github-repo/teleport-transactions)
warning: this function has too many argum…
-
-
# What it does
Checks for expressions of the form x == true, x != true and order comparisons such as x < true (or vice versa) and suggest using the variable directly.
# Why is this bad?
Unnec…
-
In order to improve the code, clippy could help to remove some code smells.
-
Assuming the most relaxed setup, i.e. the defaults (`accept-comment-above-attribute = true` and `accept-comment-above-statement = true`), `undocumented_unsafe_blocks` seems to have false positives aro…
ojeda updated
1 month ago
-
### Summary
Running clippy on remoc master causes an ICE.
git clone https://github.com/ENQT-GmbH/remoc.git
cd remoc
cargo clippy
### Version
```text
rustc 1.80.0 (051478957 …
-
os-checker 相关代码:https://github.com/os-checker/os-checker/blob/50faf092c08b39184e6ccd838cc328d63b7b0075/src/repo/cmd.rs#L17-L26
问题库之一:https://github.com/arceos-org/arceos/blob/6f98bc411e4c799085739e…
-
candidates:
* `clippy::pedantic` which has a bunch of type cast safety checks
* [clippy::unwrap_used](https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used)
* maybe more we could …
-
Whenever I try to execute the `rustc` command, it fails with the following error
`error: unknown proxy name: 'cursor-0.10.4'; valid proxy names are 'rustc', 'rustdoc', 'cargo', 'rust-lldb', 'rust-gd…