1
1
error[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
3
3
|
4
4
LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
5
5
| ^^^^ `Self` cannot be formatted with the default formatter
6
6
|
7
7
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
8
8
note: 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
10
10
|
11
11
LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
12
12
| ^^^^^^^ required by this bound in `UncheckedCopy::Output`
@@ -16,13 +16,13 @@ LL | trait UncheckedCopy: Sized + std::fmt::Display {
16
16
| +++++++++++++++++++
17
17
18
18
error[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
20
20
|
21
21
LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
22
22
| ^^^^ no implementation for `Self += &'static str`
23
23
|
24
24
note: 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
26
26
|
27
27
LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
28
28
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `UncheckedCopy::Output`
@@ -32,13 +32,13 @@ LL | trait UncheckedCopy: Sized + AddAssign<&'static str> {
32
32
| +++++++++++++++++++++++++
33
33
34
34
error[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
36
36
|
37
37
LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
38
38
| ^^^^ the trait `Deref` is not implemented for `Self`
39
39
|
40
40
note: 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
42
42
|
43
43
LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
44
44
| ^^^^^^^^^^^^^^^^^^^ required by this bound in `UncheckedCopy::Output`
@@ -48,13 +48,13 @@ LL | trait UncheckedCopy: Sized + Deref {
48
48
| +++++++
49
49
50
50
error[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
52
52
|
53
53
LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
54
54
| ^^^^ the trait `Copy` is not implemented for `Self`
55
55
|
56
56
note: 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
58
58
|
59
59
LL | type Output: Copy + Deref<Target = str> + AddAssign<&'static str> + From<Self> + Display = Self;
60
60
| ^^^^ required by this bound in `UncheckedCopy::Output`
0 commit comments