diff options
Diffstat (limited to 'rust/macros/pin_data.rs')
-rw-r--r-- | rust/macros/pin_data.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/macros/pin_data.rs b/rust/macros/pin_data.rs index 6d58cfda98..1d4a3547c6 100644 --- a/rust/macros/pin_data.rs +++ b/rust/macros/pin_data.rs @@ -10,6 +10,7 @@ pub(crate) fn pin_data(args: TokenStream, input: TokenStream) -> TokenStream { let ( Generics { impl_generics, + decl_generics, ty_generics, }, rest, @@ -76,6 +77,7 @@ pub(crate) fn pin_data(args: TokenStream, input: TokenStream) -> TokenStream { @sig(#(#rest)*), @impl_generics(#(#impl_generics)*), @ty_generics(#(#ty_generics)*), + @decl_generics(#(#decl_generics)*), @body(#last), }); quoted.extend(errs); |