//@ check-pass // Tests that type parameter bounds on an implementation need not match the // trait exactly, as long as the implementation doesn't demand *more* bounds // than the trait. trait A { fn foo(&self); } impl A for isize { fn foo(&self) {} // Ord implies Eq, so this is ok. } fn main() {}