If an implicit to the CanEqual is introduced and fails, the == operation still compiles successfully.
Compiler version
v3.1.0-RC3
Minimized code
import scala.language.strictEquality
class Foo()
inline given CanEqual[Int, Foo] = compiletime.error("This should fail")
val x = 1 == Foo()
Output
Expectation
We should get the error "This should fail"