[ty] Minor change to diagnostic message for invalid Literal uses (#19482)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user