1 // Check that we correctly prevent users from making trait objects
2 // from traits with generic methods, unless `where Self : Sized` is
6 fn bar<T>(&self, t: T);
10 fn bar<T>(&self, t: T)
14 fn make_bar<T:Bar>(t: &T) -> &Bar {
19 fn make_bar_explicit<T:Bar>(t: &T) -> &Bar {
24 fn make_quux<T:Quux>(t: &T) -> &Quux {
28 fn make_quux_explicit<T:Quux>(t: &T) -> &Quux {