1 error[E0369]: cannot add `A` to `A`
2 --> $DIR/issue-28837.rs:6:7
9 = note: an implementation of `std::ops::Add` might be missing for `A`
11 error[E0369]: cannot subtract `A` from `A`
12 --> $DIR/issue-28837.rs:8:7
19 = note: an implementation of `std::ops::Sub` might be missing for `A`
21 error[E0369]: cannot multiply `A` by `A`
22 --> $DIR/issue-28837.rs:10:7
29 = note: an implementation of `std::ops::Mul` might be missing for `A`
31 error[E0369]: cannot divide `A` by `A`
32 --> $DIR/issue-28837.rs:12:7
39 = note: an implementation of `std::ops::Div` might be missing for `A`
41 error[E0369]: cannot mod `A` by `A`
42 --> $DIR/issue-28837.rs:14:7
49 = note: an implementation of `std::ops::Rem` might be missing for `A`
51 error[E0369]: no implementation for `A & A`
52 --> $DIR/issue-28837.rs:16:7
59 = note: an implementation of `std::ops::BitAnd` might be missing for `A`
61 error[E0369]: no implementation for `A | A`
62 --> $DIR/issue-28837.rs:18:7
69 = note: an implementation of `std::ops::BitOr` might be missing for `A`
71 error[E0369]: no implementation for `A << A`
72 --> $DIR/issue-28837.rs:20:7
79 = note: an implementation of `std::ops::Shl` might be missing for `A`
81 error[E0369]: no implementation for `A >> A`
82 --> $DIR/issue-28837.rs:22:7
89 = note: an implementation of `std::ops::Shr` might be missing for `A`
91 error[E0369]: binary operation `==` cannot be applied to type `A`
92 --> $DIR/issue-28837.rs:24:7
99 = note: an implementation of `std::cmp::PartialEq` might be missing for `A`
101 error[E0369]: binary operation `!=` cannot be applied to type `A`
102 --> $DIR/issue-28837.rs:26:7
109 = note: an implementation of `std::cmp::PartialEq` might be missing for `A`
111 error[E0369]: binary operation `<` cannot be applied to type `A`
112 --> $DIR/issue-28837.rs:28:7
119 = note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
121 error[E0369]: binary operation `<=` cannot be applied to type `A`
122 --> $DIR/issue-28837.rs:30:7
129 = note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
131 error[E0369]: binary operation `>` cannot be applied to type `A`
132 --> $DIR/issue-28837.rs:32:7
139 = note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
141 error[E0369]: binary operation `>=` cannot be applied to type `A`
142 --> $DIR/issue-28837.rs:34:7
149 = note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
151 error: aborting due to 15 previous errors
153 For more information about this error, try `rustc --explain E0369`.