11error[E0277]: the trait bound `B: Clone` is not satisfied
2- --> $DIR/issue-79224.rs:18 :29
2+ --> $DIR/issue-79224.rs:28 :29
33 |
44LL | impl<B: ?Sized> Display for Cow<'_, B> {
55 | ^^^^^^^^^^ the trait `Clone` is not implemented for `B`
@@ -11,7 +11,7 @@ LL | impl<B: ?Sized + std::clone::Clone> Display for Cow<'_, B> {
1111 | +++++++++++++++++++
1212
1313error[E0277]: the trait bound `B: Clone` is not satisfied
14- --> $DIR/issue-79224.rs:20 :5
14+ --> $DIR/issue-79224.rs:30 :5
1515 |
1616LL | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
1717 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `B`
@@ -23,7 +23,7 @@ LL | impl<B: ?Sized + std::clone::Clone> Display for Cow<'_, B> {
2323 | +++++++++++++++++++
2424
2525error[E0277]: the trait bound `B: Clone` is not satisfied
26- --> $DIR/issue-79224.rs:20 :13
26+ --> $DIR/issue-79224.rs:30 :13
2727 |
2828LL | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
2929 | ^^^^ the trait `Clone` is not implemented for `B`
@@ -35,7 +35,7 @@ LL | impl<B: ?Sized + std::clone::Clone> Display for Cow<'_, B> {
3535 | +++++++++++++++++++
3636
3737error[E0277]: the trait bound `B: Clone` is not satisfied
38- --> $DIR/issue-79224.rs:20 :62
38+ --> $DIR/issue-79224.rs:30 :62
3939 |
4040LL | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
4141 | ______________________________________________________________^
0 commit comments