// A regression test for pyella-0.1.5 which broke when // enabling the new solver in coherence. // // `Tensor: TensorValue` is knowable while `Tensor: TensorOp` // may be implemented downstream. We previously didn't check the // super trait bound in coherence, causing these impls to overlap. // // However, we did fail to normalize ` {} pub trait TensorOp: TensorValue {} pub struct Tensor; impl TensorCompare for Tensor {} impl TensorCompare for T1 where T1: TensorOp, T1::Unmasked: Sized, {} fn main() {}