1 // Tests that impl can't add extra `F: Sync` bound aren't *more* restrictive
2 // than the trait method it's implementing.
4 // Regr test for #26111.
7 fn b<C,D>(&self, x: C) -> C;
15 fn b<F: Sync, G>(&self, _x: F) -> F { panic!() } //~ ERROR E0276