@@ -5,17 +5,17 @@ error[E0277]: the trait bound `S: Valuable` is not satisfied
5
5
| -------- required by a bound introduced by this call
6
6
6 | struct Struct {
7
7
7 | f: Option<S>,
8
- | ^^^^^^^^^ the trait `Valuable` is not implemented for `S`
8
+ | ^^^^^^^^^ the trait `Valuable` is not implemented for `S`, which is required by `Option<S>: Valuable`
9
9
|
10
10
= help: the following other types implement trait `Valuable`:
11
- bool
12
- char
13
- isize
14
- i8
15
- i16
16
- i32
17
- i64
18
- i128
11
+ &T
12
+ &[T]
13
+ &mut T
14
+ &std::path::Path
15
+ &str
16
+ ()
17
+ (T0, T1)
18
+ (T0, T1, T2)
19
19
and $N others
20
20
= note: required for `Option<S>` to implement `Valuable`
21
21
@@ -25,17 +25,17 @@ error[E0277]: the trait bound `S: Valuable` is not satisfied
25
25
10 | #[derive(Valuable)]
26
26
| -------- required by a bound introduced by this call
27
27
11 | struct Tuple(Option<S>);
28
- | ^^^^^^^^^ the trait `Valuable` is not implemented for `S`
28
+ | ^^^^^^^^^ the trait `Valuable` is not implemented for `S`, which is required by `Option<S>: Valuable`
29
29
|
30
30
= help: the following other types implement trait `Valuable`:
31
- bool
32
- char
33
- isize
34
- i8
35
- i16
36
- i32
37
- i64
38
- i128
31
+ &T
32
+ &[T]
33
+ &mut T
34
+ &std::path::Path
35
+ &str
36
+ ()
37
+ (T0, T1)
38
+ (T0, T1, T2)
39
39
and $N others
40
40
= note: required for `Option<S>` to implement `Valuable`
41
41
@@ -46,17 +46,17 @@ error[E0277]: the trait bound `S: Valuable` is not satisfied
46
46
| -------- required by a bound introduced by this call
47
47
14 | enum Enum {
48
48
15 | Struct { f: Option<S> },
49
- | ^^^^^^^^^ the trait `Valuable` is not implemented for `S`
49
+ | ^^^^^^^^^ the trait `Valuable` is not implemented for `S`, which is required by `&Option<S>: Valuable`
50
50
|
51
51
= help: the following other types implement trait `Valuable`:
52
- bool
53
- char
54
- isize
55
- i8
56
- i16
57
- i32
58
- i64
59
- i128
52
+ &T
53
+ &[T]
54
+ &mut T
55
+ &std::path::Path
56
+ &str
57
+ ()
58
+ (T0, T1)
59
+ (T0, T1, T2)
60
60
and $N others
61
61
= note: required for `Option<S>` to implement `Valuable`
62
62
= note: 1 redundant requirement hidden
@@ -69,17 +69,17 @@ error[E0277]: the trait bound `S: Valuable` is not satisfied
69
69
| -------- required by a bound introduced by this call
70
70
...
71
71
16 | Tuple(Option<S>),
72
- | ^^^^^^^^^ the trait `Valuable` is not implemented for `S`
72
+ | ^^^^^^^^^ the trait `Valuable` is not implemented for `S`, which is required by `&Option<S>: Valuable`
73
73
|
74
74
= help: the following other types implement trait `Valuable`:
75
- bool
76
- char
77
- isize
78
- i8
79
- i16
80
- i32
81
- i64
82
- i128
75
+ &T
76
+ &[T]
77
+ &mut T
78
+ &std::path::Path
79
+ &str
80
+ ()
81
+ (T0, T1)
82
+ (T0, T1, T2)
83
83
and $N others
84
84
= note: required for `Option<S>` to implement `Valuable`
85
85
= note: 1 redundant requirement hidden
0 commit comments