From 52ea3465e6bf3e5aa30b4d2b61adf1ad91641aef Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Wed, 24 Jan 2024 16:43:18 -0600 Subject: [PATCH] import the SuperInto trait in core macro --- packages/core-macro/src/props/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core-macro/src/props/mod.rs b/packages/core-macro/src/props/mod.rs index 15c55d470..a96a72545 100644 --- a/packages/core-macro/src/props/mod.rs +++ b/packages/core-macro/src/props/mod.rs @@ -972,7 +972,7 @@ Finally, call `.build()` to create the instance of `{name}`. marker = Some(marker_ident.clone()); ( quote!(impl dioxus_core::prelude::SuperInto<#arg_type, #marker_ident>), - quote!(#field_name.super_into()), + quote!(dioxus_core::prelude::SuperInto::super_into(#field_name)), ) } else if field.builder_attr.from_displayable { (