1
1
error[E0277]: the trait bound `B: Clone` is not satisfied
2
- --> $DIR/issue-79224.rs:18 :29
2
+ --> $DIR/issue-79224.rs:28 :29
3
3
|
4
4
LL | impl<B: ?Sized> Display for Cow<'_, B> {
5
5
| ^^^^^^^^^^ the trait `Clone` is not implemented for `B`
@@ -11,7 +11,7 @@ LL | impl<B: ?Sized + std::clone::Clone> Display for Cow<'_, B> {
11
11
| +++++++++++++++++++
12
12
13
13
error[E0277]: the trait bound `B: Clone` is not satisfied
14
- --> $DIR/issue-79224.rs:20 :5
14
+ --> $DIR/issue-79224.rs:30 :5
15
15
|
16
16
LL | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
17
17
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `B`
@@ -23,7 +23,7 @@ LL | impl<B: ?Sized + std::clone::Clone> Display for Cow<'_, B> {
23
23
| +++++++++++++++++++
24
24
25
25
error[E0277]: the trait bound `B: Clone` is not satisfied
26
- --> $DIR/issue-79224.rs:20 :13
26
+ --> $DIR/issue-79224.rs:30 :13
27
27
|
28
28
LL | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
29
29
| ^^^^ the trait `Clone` is not implemented for `B`
@@ -35,7 +35,7 @@ LL | impl<B: ?Sized + std::clone::Clone> Display for Cow<'_, B> {
35
35
| +++++++++++++++++++
36
36
37
37
error[E0277]: the trait bound `B: Clone` is not satisfied
38
- --> $DIR/issue-79224.rs:20 :62
38
+ --> $DIR/issue-79224.rs:30 :62
39
39
|
40
40
LL | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
41
41
| ______________________________________________________________^
0 commit comments