Fix wrapping methods that return types containing Self
@@ -121,7 +121,7 @@ macro_rules! godot_wrap_method_inner {
$($pname,)*
$($opt_pname,)*
);
- <$retty as $crate::core_types::OwnedToVariant>::owned_to_variant(ret)
+ OwnedToVariant::owned_to_variant(ret)
})
.unwrap_or_else(|err| {
$crate::godot_error!("gdnative-core: method call failed with error: {}", err);
