mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
869753389b
- only lint on definitions of offending mutexes, not all their uses (fixes https://github.com/rust-lang/rust-clippy/issues/13378) - give more orderly help messages - stop linting on `Mutex<*const T>` (see the corresponding commit for context) - offer (partial) suggestions The last change might be deemed a bit too much for the feature freeze, but it can be easily extracted out into a separate PR. changelog: [`mutex_atomic`]: only lint the definitions, not uses changelog: [`mutex_atomic`]: better help messages, and suggestions changelog: [`mutex_atomic`]: don't lint `Mutex<*const T>` changelog: [`mutex_integer`]: only lint the definitions, not uses changelog: [`mutex_integer`]: better help messages, and suggestions