There is some previous discussion about making this more automatic and user friendly at Towards Rust-level feedback on type stability.
There is some previous discussion about making this more automatic and user friendly at Towards Rust-level feedback on type stability.