'Is there a way to obtain elided lifetime parameters from the Rust compiler?

Given a Rust program, which compiles correctly, can I get the compiler to tell me what the elided lifetimes were inferred to be?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source