[ty] Minor change to diagnostic message for invalid Literal uses (#19482)

This commit is contained in:
David Peter 2025-07-22 11:42:12 +02:00 committed by GitHub
parent 215a1c55d4
commit cb60ecef6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9965,7 +9965,7 @@ impl<'db> TypeInferenceBuilder<'db, '_> {
};
builder.into_diagnostic(
"Type arguments for `Literal` must be `None`, \
a literal value (int, bool, str, or bytes), or an enum value",
a literal value (int, bool, str, or bytes), or an enum member",
);
}
Type::unknown()