Skip to content
Snippets Groups Projects
Commit b0c07871 authored by Jeeyong Um's avatar Jeeyong Um Committed by GitHub
Browse files

Fix derive PassByInner with generics (#13247)


* Fix derive PassByInner with generics

* Update primitives/runtime-interface/proc-macro/src/pass_by/inner.rs

---------

Co-authored-by: default avatarBastian Köcher <git@kchr.de>
parent a9277002
Branches
No related merge requests found
......@@ -52,7 +52,7 @@ pub fn derive_impl(mut input: DeriveInput) -> Result<TokenStream> {
#crate_include
impl #impl_generics #crate_::pass_by::PassBy for #ident #ty_generics #where_clause {
type PassBy = #crate_::pass_by::Inner<#ident, #inner_ty>;
type PassBy = #crate_::pass_by::Inner<Self, #inner_ty>;
}
impl #impl_generics #crate_::pass_by::PassByInner for #ident #ty_generics #where_clause {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment