diff --git a/gdnative-derive/src/methods.rs b/gdnative-derive/src/methods.rs index d93983d82..804895cab 100644 --- a/gdnative-derive/src/methods.rs +++ b/gdnative-derive/src/methods.rs @@ -369,6 +369,7 @@ fn impl_gdnative_expose(ast: ItemImpl) -> (ItemImpl, ClassMethodExport) { ); errors.push(syn::Error::new(nested_meta.span(), msg)); } + break; } return false; }