123 lines
4.1 KiB
Plaintext
123 lines
4.1 KiB
Plaintext
|
error[E0369]: binary operation `+` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:16:5
|
||
|
|
|
||
|
16 | a + a; //~ ERROR binary operation `+` cannot be applied to type `A`
|
||
|
| ^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::ops::Add` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `-` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:19:5
|
||
|
|
|
||
|
19 | a - a; //~ ERROR binary operation `-` cannot be applied to type `A`
|
||
|
| ^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::ops::Sub` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `*` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:22:5
|
||
|
|
|
||
|
22 | a * a; //~ ERROR binary operation `*` cannot be applied to type `A`
|
||
|
| ^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::ops::Mul` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `/` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:25:5
|
||
|
|
|
||
|
25 | a / a; //~ ERROR binary operation `/` cannot be applied to type `A`
|
||
|
| ^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::ops::Div` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `%` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:28:5
|
||
|
|
|
||
|
28 | a % a; //~ ERROR binary operation `%` cannot be applied to type `A`
|
||
|
| ^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::ops::Rem` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `&` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:31:5
|
||
|
|
|
||
|
31 | a & a; //~ ERROR binary operation `&` cannot be applied to type `A`
|
||
|
| ^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::ops::BitAnd` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `|` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:34:5
|
||
|
|
|
||
|
34 | a | a; //~ ERROR binary operation `|` cannot be applied to type `A`
|
||
|
| ^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::ops::BitOr` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `<<` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:37:5
|
||
|
|
|
||
|
37 | a << a; //~ ERROR binary operation `<<` cannot be applied to type `A`
|
||
|
| ^^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::ops::Shl` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `>>` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:40:5
|
||
|
|
|
||
|
40 | a >> a; //~ ERROR binary operation `>>` cannot be applied to type `A`
|
||
|
| ^^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::ops::Shr` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `==` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:43:5
|
||
|
|
|
||
|
43 | a == a; //~ ERROR binary operation `==` cannot be applied to type `A`
|
||
|
| ^^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::cmp::PartialEq` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `!=` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:46:5
|
||
|
|
|
||
|
46 | a != a; //~ ERROR binary operation `!=` cannot be applied to type `A`
|
||
|
| ^^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::cmp::PartialEq` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `<` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:49:5
|
||
|
|
|
||
|
49 | a < a; //~ ERROR binary operation `<` cannot be applied to type `A`
|
||
|
| ^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `<=` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:52:5
|
||
|
|
|
||
|
52 | a <= a; //~ ERROR binary operation `<=` cannot be applied to type `A`
|
||
|
| ^^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `>` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:55:5
|
||
|
|
|
||
|
55 | a > a; //~ ERROR binary operation `>` cannot be applied to type `A`
|
||
|
| ^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
|
||
|
|
||
|
error[E0369]: binary operation `>=` cannot be applied to type `A`
|
||
|
--> $DIR/issue-28837.rs:58:5
|
||
|
|
|
||
|
58 | a >= a; //~ ERROR binary operation `>=` cannot be applied to type `A`
|
||
|
| ^^^^^^
|
||
|
|
|
||
|
= note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
|
||
|
|
||
|
error: aborting due to 15 previous errors
|
||
|
|