fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0369]: binary operation `+` cannot be applied to type `A` 2 --> $DIR/issue-28837.rs:6:7 3 | 4LL | a + a; 5 | - ^ - A 6 | | 7 | A 8 | 9 = note: an implementation of `std::ops::Add` might be missing for `A` 10 11error[E0369]: binary operation `-` cannot be applied to type `A` 12 --> $DIR/issue-28837.rs:8:7 13 | 14LL | a - a; 15 | - ^ - A 16 | | 17 | A 18 | 19 = note: an implementation of `std::ops::Sub` might be missing for `A` 20 21error[E0369]: binary operation `*` cannot be applied to type `A` 22 --> $DIR/issue-28837.rs:10:7 23 | 24LL | a * a; 25 | - ^ - A 26 | | 27 | A 28 | 29 = note: an implementation of `std::ops::Mul` might be missing for `A` 30 31error[E0369]: binary operation `/` cannot be applied to type `A` 32 --> $DIR/issue-28837.rs:12:7 33 | 34LL | a / a; 35 | - ^ - A 36 | | 37 | A 38 | 39 = note: an implementation of `std::ops::Div` might be missing for `A` 40 41error[E0369]: binary operation `%` cannot be applied to type `A` 42 --> $DIR/issue-28837.rs:14:7 43 | 44LL | a % a; 45 | - ^ - A 46 | | 47 | A 48 | 49 = note: an implementation of `std::ops::Rem` might be missing for `A` 50 51error[E0369]: binary operation `&` cannot be applied to type `A` 52 --> $DIR/issue-28837.rs:16:7 53 | 54LL | a & a; 55 | - ^ - A 56 | | 57 | A 58 | 59 = note: an implementation of `std::ops::BitAnd` might be missing for `A` 60 61error[E0369]: binary operation `|` cannot be applied to type `A` 62 --> $DIR/issue-28837.rs:18:7 63 | 64LL | a | a; 65 | - ^ - A 66 | | 67 | A 68 | 69 = note: an implementation of `std::ops::BitOr` might be missing for `A` 70 71error[E0369]: binary operation `<<` cannot be applied to type `A` 72 --> $DIR/issue-28837.rs:20:7 73 | 74LL | a << a; 75 | - ^^ - A 76 | | 77 | A 78 | 79 = note: an implementation of `std::ops::Shl` might be missing for `A` 80 81error[E0369]: binary operation `>>` cannot be applied to type `A` 82 --> $DIR/issue-28837.rs:22:7 83 | 84LL | a >> a; 85 | - ^^ - A 86 | | 87 | A 88 | 89 = note: an implementation of `std::ops::Shr` might be missing for `A` 90 91error[E0369]: binary operation `==` cannot be applied to type `A` 92 --> $DIR/issue-28837.rs:24:7 93 | 94LL | a == a; 95 | - ^^ - A 96 | | 97 | A 98 | 99 = note: an implementation of `std::cmp::PartialEq` might be missing for `A` 100 101error[E0369]: binary operation `!=` cannot be applied to type `A` 102 --> $DIR/issue-28837.rs:26:7 103 | 104LL | a != a; 105 | - ^^ - A 106 | | 107 | A 108 | 109 = note: an implementation of `std::cmp::PartialEq` might be missing for `A` 110 111error[E0369]: binary operation `<` cannot be applied to type `A` 112 --> $DIR/issue-28837.rs:28:7 113 | 114LL | a < a; 115 | - ^ - A 116 | | 117 | A 118 | 119 = note: an implementation of `std::cmp::PartialOrd` might be missing for `A` 120 121error[E0369]: binary operation `<=` cannot be applied to type `A` 122 --> $DIR/issue-28837.rs:30:7 123 | 124LL | a <= a; 125 | - ^^ - A 126 | | 127 | A 128 | 129 = note: an implementation of `std::cmp::PartialOrd` might be missing for `A` 130 131error[E0369]: binary operation `>` cannot be applied to type `A` 132 --> $DIR/issue-28837.rs:32:7 133 | 134LL | a > a; 135 | - ^ - A 136 | | 137 | A 138 | 139 = note: an implementation of `std::cmp::PartialOrd` might be missing for `A` 140 141error[E0369]: binary operation `>=` cannot be applied to type `A` 142 --> $DIR/issue-28837.rs:34:7 143 | 144LL | a >= a; 145 | - ^^ - A 146 | | 147 | A 148 | 149 = note: an implementation of `std::cmp::PartialOrd` might be missing for `A` 150 151error: aborting due to 15 previous errors 152 153For more information about this error, try `rustc --explain E0369`.