I've been working on a Rust project with a friend and I swear he's the best tester for compiler error messages. Today, when he wanted to add a generic type to an enum that already had a lifetime, he wrote:
enum Foo<'a><T> { ... }
The compiler was not ready for this case! 😂 /1
Conversation
`<A: Lifetime, ...>` 🙃🙃
1
1
Funny the more I delve into dependent types, the more the way rust’s generics ended up frustrates me… oh well 😅


