RS.CLIPPY.SUSPICIOUS_ASSIGNMENT_FORMATTING
Suspicious formatting of `*=`, `-=` or `!=`
This checker is a Clippy lint created by The Rust Project Contributors. The documentation shown here is a copy of the original documentation for: suspicious_assignment_formatting. Copyright ©2025 The Rust Team. All rights reserved.
What it does
Checks for usage of the non-existent =*, =! and =-
operators.
Why is this bad?
This is either a typo of *=, != or -= or
confusing.
Example
a =- 42; // confusing, should it be `a -= 42` or `a = -42`?