@@ -2,15 +2,13 @@ error[E0599]: the method `insert` exists for struct `HashSet<Value>`, but its tr
22 --> $DIR/issue-91550.rs:8:8
33 |
44LL | struct Value(u32);
5- | ------------ doesn't satisfy `Value: Eq`, `Value: Hash` or `Value: PartialEq `
5+ | ------------ doesn't satisfy `Value: Eq` or `Value: Hash `
66...
77LL | hs.insert(Value(0));
88 | ^^^^^^
99 |
1010 = note: the following trait bounds were not satisfied:
1111 `Value: Eq`
12- `Value: PartialEq`
13- which is required by `Value: Eq`
1412 `Value: Hash`
1513help: consider annotating `Value` with `#[derive(Eq, Hash, PartialEq)]`
1614 |
@@ -22,7 +20,7 @@ error[E0599]: the method `use_eq` exists for struct `Object<NoDerives>`, but its
2220 --> $DIR/issue-91550.rs:26:9
2321 |
2422LL | pub struct NoDerives;
25- | -------------------- doesn't satisfy `NoDerives: Eq` or `NoDerives: PartialEq`
23+ | -------------------- doesn't satisfy `NoDerives: Eq`
2624LL |
2725LL | struct Object<T>(T);
2826 | ---------------- method `use_eq` not found for this struct
@@ -37,9 +35,6 @@ LL | impl<T: Eq> Object<T> {
3735 | ^^ ---------
3836 | |
3937 | unsatisfied trait bound introduced here
40- = note: the following trait bounds were not satisfied:
41- `NoDerives: PartialEq`
42- which is required by `NoDerives: Eq`
4338help: consider annotating `NoDerives` with `#[derive(Eq, PartialEq)]`
4439 |
4540LL + #[derive(Eq, PartialEq)]
@@ -50,7 +45,7 @@ error[E0599]: the method `use_ord` exists for struct `Object<NoDerives>`, but it
5045 --> $DIR/issue-91550.rs:27:9
5146 |
5247LL | pub struct NoDerives;
53- | -------------------- doesn't satisfy `NoDerives: Eq`, `NoDerives: Ord`, `NoDerives: PartialEq` or `NoDerives: PartialOrd `
48+ | -------------------- doesn't satisfy `NoDerives: Ord`
5449LL |
5550LL | struct Object<T>(T);
5651 | ---------------- method `use_ord` not found for this struct
@@ -65,13 +60,6 @@ LL | impl<T: Ord> Object<T> {
6560 | ^^^ ---------
6661 | |
6762 | unsatisfied trait bound introduced here
68- = note: the following trait bounds were not satisfied:
69- `NoDerives: PartialOrd`
70- which is required by `NoDerives: Ord`
71- `NoDerives: PartialEq`
72- which is required by `NoDerives: Ord`
73- `NoDerives: Eq`
74- which is required by `NoDerives: Ord`
7563help: consider annotating `NoDerives` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]`
7664 |
7765LL + #[derive(Eq, Ord, PartialEq, PartialOrd)]
@@ -82,7 +70,7 @@ error[E0599]: the method `use_ord_and_partial_ord` exists for struct `Object<NoD
8270 --> $DIR/issue-91550.rs:28:9
8371 |
8472LL | pub struct NoDerives;
85- | -------------------- doesn't satisfy `NoDerives: Eq`, `NoDerives: Ord`, `NoDerives: PartialEq ` or `NoDerives: PartialOrd`
73+ | -------------------- doesn't satisfy `NoDerives: Ord` or `NoDerives: PartialOrd`
8674LL |
8775LL | struct Object<T>(T);
8876 | ---------------- method `use_ord_and_partial_ord` not found for this struct
@@ -100,13 +88,6 @@ LL | impl<T: Ord + PartialOrd> Object<T> {
10088 | | |
10189 | | unsatisfied trait bound introduced here
10290 | unsatisfied trait bound introduced here
103- = note: the following trait bounds were not satisfied:
104- `NoDerives: PartialEq`
105- which is required by `NoDerives: Ord`
106- `NoDerives: Eq`
107- which is required by `NoDerives: Ord`
108- `NoDerives: PartialEq`
109- which is required by `NoDerives: PartialOrd`
11091help: consider annotating `NoDerives` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]`
11192 |
11293LL + #[derive(Eq, Ord, PartialEq, PartialOrd)]
0 commit comments