Is there a way to see the lifetimes inferred by the compiler?

That would be a useful tool for learning and teaching lifetimes.

Unfortunately not.

2 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.