4 fn test_impl(t: impl Sized + std::fmt::Debug) {
6 //~^ ERROR doesn't implement
10 fn test_no_bounds<T: std::fmt::Debug>(t: T) {
12 //~^ ERROR doesn't implement
16 fn test_one_bound<T: std::fmt::Debug + Sized>(t: T) {
18 //~^ ERROR doesn't implement
22 fn test_no_bounds_where<X, Y>(x: X, y: Y) where X: std::fmt::Debug, Y: std::fmt::Debug {
23 println!("{:?} {:?}", x, y);
24 //~^ ERROR doesn't implement
28 fn test_one_bound_where<X>(x: X) where X: std::fmt::Debug + Sized {
30 //~^ ERROR doesn't implement
34 fn test_many_bounds_where<X>(x: X) where X: Sized, X: Sized, X: std::fmt::Debug {
36 //~^ ERROR doesn't implement