Multiple trait constraints on the same function causing issues #3325
Labels
bug
Something isn't working
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
P: critical
Should be looked at before anything else
Code:
The idea is that I want both
T
andE
intest_ok_or
to implementEq
so that I can add another test to compare errors. I currently get the following error:The error goes away where I remove the trait constraint
E: Eq
ontest_ok_or
.The text was updated successfully, but these errors were encountered: