You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… r=flodiebold
fix: trailing ':' on empty inactive reasons
## Description
Fixes trailing ':' even when there is no explanation. e.g.
``` sh
code is inactive due to #[cfg] directives:
```
## Issue
Fixes: rust-lang#12615
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Apr 4, 2024
…yxyas
Do not suggest `assigning_clones` in `Clone` impl
This PR modifies `assigning_clones` to detect situations where the `clone` call is inside a `Clone` impl, and avoids suggesting the lint in such situations.
r? `@blyxyas`
Fixes: rust-lang/rust-clippy#12600
changelog: Do not invoke `assigning_clones` inside `Clone` impl
https://github.com/mozilla/rust/blob/master/configure#L748
The text was updated successfully, but these errors were encountered: