diff --git a/crates/ty_python_semantic/src/types/infer.rs b/crates/ty_python_semantic/src/types/infer.rs index caffb49aee..df1c814578 100644 --- a/crates/ty_python_semantic/src/types/infer.rs +++ b/crates/ty_python_semantic/src/types/infer.rs @@ -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()