@@ -2,7 +2,9 @@ error[E0277]: `impl Sized` doesn't implement `Debug`
22 --> $DIR/bound-suggestions.rs:9:22
33 |
44LL | println!("{:?}", t);
5- | ^ `impl Sized` cannot be formatted using `{:?}` because it doesn't implement `Debug`
5+ | ---- ^ `impl Sized` cannot be formatted using `{:?}` because it doesn't implement `Debug`
6+ | |
7+ | required by a bound introduced by this call
68 |
79help: consider restricting opaque type `impl Sized` with trait `Debug`
810 |
@@ -13,7 +15,9 @@ error[E0277]: `T` doesn't implement `Debug`
1315 --> $DIR/bound-suggestions.rs:15:22
1416 |
1517LL | println!("{:?}", t);
16- | ^ `T` cannot be formatted using `{:?}` because it doesn't implement `Debug`
18+ | ---- ^ `T` cannot be formatted using `{:?}` because it doesn't implement `Debug`
19+ | |
20+ | required by a bound introduced by this call
1721 |
1822help: consider restricting type parameter `T` with trait `Debug`
1923 |
@@ -24,7 +28,9 @@ error[E0277]: `T` doesn't implement `Debug`
2428 --> $DIR/bound-suggestions.rs:21:22
2529 |
2630LL | println!("{:?}", t);
27- | ^ `T` cannot be formatted using `{:?}` because it doesn't implement `Debug`
31+ | ---- ^ `T` cannot be formatted using `{:?}` because it doesn't implement `Debug`
32+ | |
33+ | required by a bound introduced by this call
2834 |
2935help: consider further restricting type parameter `T` with trait `Debug`
3036 |
@@ -47,7 +53,9 @@ error[E0277]: `X` doesn't implement `Debug`
4753 --> $DIR/bound-suggestions.rs:33:22
4854 |
4955LL | println!("{:?}", x);
50- | ^ `X` cannot be formatted using `{:?}` because it doesn't implement `Debug`
56+ | ---- ^ `X` cannot be formatted using `{:?}` because it doesn't implement `Debug`
57+ | |
58+ | required by a bound introduced by this call
5159 |
5260help: consider further restricting type parameter `X` with trait `Debug`
5361 |
@@ -58,7 +66,9 @@ error[E0277]: `X` doesn't implement `Debug`
5866 --> $DIR/bound-suggestions.rs:39:22
5967 |
6068LL | println!("{:?}", x);
61- | ^ `X` cannot be formatted using `{:?}` because it doesn't implement `Debug`
69+ | ---- ^ `X` cannot be formatted using `{:?}` because it doesn't implement `Debug`
70+ | |
71+ | required by a bound introduced by this call
6272 |
6373help: consider further restricting type parameter `X` with trait `Debug`
6474 |
0 commit comments