@@ -2,7 +2,9 @@ error[E0277]: `impl Sized` doesn't implement `Debug`
2
2
--> $DIR/bound-suggestions.rs:9:22
3
3
|
4
4
LL | 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
6
8
|
7
9
help: consider restricting opaque type `impl Sized` with trait `Debug`
8
10
|
@@ -13,7 +15,9 @@ error[E0277]: `T` doesn't implement `Debug`
13
15
--> $DIR/bound-suggestions.rs:15:22
14
16
|
15
17
LL | 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
17
21
|
18
22
help: consider restricting type parameter `T` with trait `Debug`
19
23
|
@@ -24,7 +28,9 @@ error[E0277]: `T` doesn't implement `Debug`
24
28
--> $DIR/bound-suggestions.rs:21:22
25
29
|
26
30
LL | 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
28
34
|
29
35
help: consider further restricting type parameter `T` with trait `Debug`
30
36
|
@@ -47,7 +53,9 @@ error[E0277]: `X` doesn't implement `Debug`
47
53
--> $DIR/bound-suggestions.rs:33:22
48
54
|
49
55
LL | 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
51
59
|
52
60
help: consider further restricting type parameter `X` with trait `Debug`
53
61
|
@@ -58,7 +66,9 @@ error[E0277]: `X` doesn't implement `Debug`
58
66
--> $DIR/bound-suggestions.rs:39:22
59
67
|
60
68
LL | 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
62
72
|
63
73
help: consider further restricting type parameter `X` with trait `Debug`
64
74
|
0 commit comments