Replies: 1 comment
-
|
Interesting case. Didn't look into it yet but maybe @Kijewski already has some ideas? :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I need to create a hierarchy of structures that I can render. My thought was that I could use
DynTemplateto do things like this:However, this gives me the following error.
It has to do with the lifetime
'athat I'm adding there. I need that lifetime because my structures are using references and need to explicitly specify the lifetime. When I expand the macro, this is what it is generated:When I try to compile that, I get this error:
So it seems like it has to do with the implementation of
render_into_with_values. But I don't understand the error and much less how to fix it. Why isselfescaping the method?Beta Was this translation helpful? Give feedback.
All reactions