I need help on E0521 Error

โš“ Rust    ๐Ÿ“… 2025-11-16    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 8      

surdeus

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: I need help on E0521 Error

This is stripped down version of what its I am doing but I don't know how to solve it, I am not good at lifetimes but also keeps saying '1 error with E0521

There this clue with

but I donโ€™t how to implement since I need to return a function pointer in a struct in a function

I have reached reply limit so I am going edit.

It worked like a charm also help me understand how this work and why does for<โ€˜a> doesnโ€™t work here and also help me understand bit more about lifetime does adding T: โ€˜a work or too excessive

2 posts - 2 participants

Read full topic

๐Ÿท๏ธ Rust_feed