-
### What it does
Match patterns using `Enum::Variant { .. }` should be linted on if the enum variant is field-less.
Example:
```rust
match Some(42) {
Some(v) => v,
None { .. } /* 1
…
-
## do_not_check_equality_to_self
## Description
Checking equality to self will always return true and is likely a typo.
## Details
Although good code tries to avoid it, sometimes two diffe…
-
-
It would be nice to be able to define exclusions to specific instances of lints, similar to [lintr](https://lintr.r-lib.org/articles/lintr.html#exclusions). For example, some of my documentation title…
-
- [ ] deny unwrap, expect, and indexing/slicing
- [ ] forbid unsafe
-
Where possible, code that is generated by assists, fixes, refactorings and snippets should be idiomatic with respect to enabled lints. (For example, trailing commas should be inserted where appropria…
-
We do pre-issuance linting using zlint to ensure that we are compliant with the baseline requirements and various root program requirements. As [Bug 1715455](https://bugzilla.mozilla.org/show_bug.cgi?…
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Package ecosystem
Cargo
### Package manager version
cargo 1.80.1 (376290515 2024-07-16)
### Lan…
-
# Lint Renaming for 3.0
We can expect adopters of 3.0 to tolerate some breaking changes and imagine that the upgrade will involve some code fixing up. This _might_ be a good opportunity to tackle …
-
Right now there are several checks done by `cargo publish`. Unfortunately there isn't a concise list of the necessary requirements for publishing a crate. The only way to tell is `cargo publish` or `c…