import the SuperInto trait in core macro

This commit is contained in:
Evan Almloff 2024-01-24 16:43:18 -06:00
parent c3555a7ec0
commit 52ea3465e6

View file

@ -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 {
(