From b0451600844453615128305b31b883ed3d8eaaf2 Mon Sep 17 00:00:00 2001 From: "799189288@qq.com" <799189288@qq.com> Date: Tue, 24 Dec 2024 21:44:14 +0800 Subject: [PATCH] fix: use fully qualified syntax when call fn name in trait ActiveEnum. --- sea-orm-macros/src/derives/active_enum.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sea-orm-macros/src/derives/active_enum.rs b/sea-orm-macros/src/derives/active_enum.rs index 2a5e42b7b..ff48f3911 100644 --- a/sea-orm-macros/src/derives/active_enum.rs +++ b/sea-orm-macros/src/derives/active_enum.rs @@ -59,7 +59,7 @@ impl ActiveEnum { "Enum" => { db_type = Ok(quote! { Enum { - name: Self::name(), + name: ::name(), variants: Self::iden_values(), } })