Rename operator-unsupported to unsupported-operator (#13973)

## Summary

Closes https://github.com/astral-sh/ruff/issues/13959.
This commit is contained in:
Charlie Marsh 2024-10-28 21:34:12 -04:00 committed by GitHub
parent 9a0dade925
commit b19862c64a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -2839,7 +2839,7 @@ impl<'db> TypeInferenceBuilder<'db> {
// Handle unsupported operators (diagnostic, `bool`/`Unknown` outcome)
self.add_diagnostic(
AnyNodeRef::ExprCompare(compare),
"operator-unsupported",
"unsupported-operator",
format_args!(
"Operator `{}` is not supported for types `{}` and `{}`{}",
error.op,