11error[E0277]: `Self` doesn't implement `std::fmt::Display`
2- --> $DIR/defaults-unsound-62211-1.rs:20 :96
2+ --> $DIR/defaults-unsound-62211-1.rs:26 :96
33 |
44LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
55 | ^^^^ `Self` cannot be formatted with the default formatter
66 |
77 = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
88note: required by a bound in `UncheckedCopy::Output`
9- --> $DIR/defaults-unsound-62211-1.rs:20 :86
9+ --> $DIR/defaults-unsound-62211-1.rs:26 :86
1010 |
1111LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
1212 | ^^^^^^^ required by this bound in `UncheckedCopy::Output`
@@ -16,13 +16,13 @@ LL | trait UncheckedCopy: Sized + std::fmt::Display {
1616 | +++++++++++++++++++
1717
1818error[E0277]: cannot add-assign `&'static str` to `Self`
19- --> $DIR/defaults-unsound-62211-1.rs:20 :96
19+ --> $DIR/defaults-unsound-62211-1.rs:26 :96
2020 |
2121LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
2222 | ^^^^ no implementation for `Self += &'static str`
2323 |
2424note: required by a bound in `UncheckedCopy::Output`
25- --> $DIR/defaults-unsound-62211-1.rs:20 :47
25+ --> $DIR/defaults-unsound-62211-1.rs:26 :47
2626 |
2727LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
2828 | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `UncheckedCopy::Output`
@@ -32,13 +32,13 @@ LL | trait UncheckedCopy: Sized + AddAssign<&'static str> {
3232 | +++++++++++++++++++++++++
3333
3434error[E0277]: the trait bound `Self: Deref` is not satisfied
35- --> $DIR/defaults-unsound-62211-1.rs:20 :96
35+ --> $DIR/defaults-unsound-62211-1.rs:26 :96
3636 |
3737LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
3838 | ^^^^ the trait `Deref` is not implemented for `Self`
3939 |
4040note: required by a bound in `UncheckedCopy::Output`
41- --> $DIR/defaults-unsound-62211-1.rs:20 :25
41+ --> $DIR/defaults-unsound-62211-1.rs:26 :25
4242 |
4343LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
4444 | ^^^^^^^^^^^^^^^^^^^ required by this bound in `UncheckedCopy::Output`
@@ -48,13 +48,13 @@ LL | trait UncheckedCopy: Sized + Deref {
4848 | +++++++
4949
5050error[E0277]: the trait bound `Self: Copy` is not satisfied
51- --> $DIR/defaults-unsound-62211-1.rs:20 :96
51+ --> $DIR/defaults-unsound-62211-1.rs:26 :96
5252 |
5353LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
5454 | ^^^^ the trait `Copy` is not implemented for `Self`
5555 |
5656note: required by a bound in `UncheckedCopy::Output`
57- --> $DIR/defaults-unsound-62211-1.rs:20 :18
57+ --> $DIR/defaults-unsound-62211-1.rs:26 :18
5858 |
5959LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
6060 | ^^^^ required by this bound in `UncheckedCopy::Output`
0 commit comments