What is Nostr?
Lyude🌹#BLM /
npub1ypa…3rf8
2024-06-28 21:38:00

Lyude🌹#BLM on Nostr: I have no idea if this is possible, but it would be _really_ nice if rust's compiler ...

I have no idea if this is possible, but it would be _really_ nice if rust's compiler could, in response to errors like (given Foo::Bar: Baz, Foo::Biz::Bar: Baz where Foo::Bar == Foo::Biz::Bar):

"Expected Foo::Bar, got Foo::Biz::Bar"

if the compiler could recognize that both `Foo::Bar` and `Foo::Biz::Bar` have the same trait bounds, that the programmer _might_ be intending for those two to always be equal and thus suggest what trait bound I need to get it to understand.
Author Public Key
npub1ypa9f7wl4q9ttgtrlwvjjc5dleqy3rxs0kntvuzhwee3t3n534dq2n3rf8