diff --git a/crates/ty_python_semantic/src/types/infer.rs b/crates/ty_python_semantic/src/types/infer.rs index 6bbfe74f80dce..0bdee17a32f2d 100644 --- a/crates/ty_python_semantic/src/types/infer.rs +++ b/crates/ty_python_semantic/src/types/infer.rs @@ -9583,7 +9583,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()