]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-28837.stderr
Auto merge of #50665 - alexcrichton:fix-single-item-path-warnings, r=oli-obk
[rust.git] / src / test / ui / issue-28837.stderr
1 error[E0369]: binary operation `+` cannot be applied to type `A`
2   --> $DIR/issue-28837.rs:16:5
3    |
4 LL |     a + a; //~ ERROR binary operation `+` cannot be applied to type `A`
5    |     ^^^^^
6    |
7    = note: an implementation of `std::ops::Add` might be missing for `A`
8
9 error[E0369]: binary operation `-` cannot be applied to type `A`
10   --> $DIR/issue-28837.rs:18:5
11    |
12 LL |     a - a; //~ ERROR binary operation `-` cannot be applied to type `A`
13    |     ^^^^^
14    |
15    = note: an implementation of `std::ops::Sub` might be missing for `A`
16
17 error[E0369]: binary operation `*` cannot be applied to type `A`
18   --> $DIR/issue-28837.rs:20:5
19    |
20 LL |     a * a; //~ ERROR binary operation `*` cannot be applied to type `A`
21    |     ^^^^^
22    |
23    = note: an implementation of `std::ops::Mul` might be missing for `A`
24
25 error[E0369]: binary operation `/` cannot be applied to type `A`
26   --> $DIR/issue-28837.rs:22:5
27    |
28 LL |     a / a; //~ ERROR binary operation `/` cannot be applied to type `A`
29    |     ^^^^^
30    |
31    = note: an implementation of `std::ops::Div` might be missing for `A`
32
33 error[E0369]: binary operation `%` cannot be applied to type `A`
34   --> $DIR/issue-28837.rs:24:5
35    |
36 LL |     a % a; //~ ERROR binary operation `%` cannot be applied to type `A`
37    |     ^^^^^
38    |
39    = note: an implementation of `std::ops::Rem` might be missing for `A`
40
41 error[E0369]: binary operation `&` cannot be applied to type `A`
42   --> $DIR/issue-28837.rs:26:5
43    |
44 LL |     a & a; //~ ERROR binary operation `&` cannot be applied to type `A`
45    |     ^^^^^
46    |
47    = note: an implementation of `std::ops::BitAnd` might be missing for `A`
48
49 error[E0369]: binary operation `|` cannot be applied to type `A`
50   --> $DIR/issue-28837.rs:28:5
51    |
52 LL |     a | a; //~ ERROR binary operation `|` cannot be applied to type `A`
53    |     ^^^^^
54    |
55    = note: an implementation of `std::ops::BitOr` might be missing for `A`
56
57 error[E0369]: binary operation `<<` cannot be applied to type `A`
58   --> $DIR/issue-28837.rs:30:5
59    |
60 LL |     a << a; //~ ERROR binary operation `<<` cannot be applied to type `A`
61    |     ^^^^^^
62    |
63    = note: an implementation of `std::ops::Shl` might be missing for `A`
64
65 error[E0369]: binary operation `>>` cannot be applied to type `A`
66   --> $DIR/issue-28837.rs:32:5
67    |
68 LL |     a >> a; //~ ERROR binary operation `>>` cannot be applied to type `A`
69    |     ^^^^^^
70    |
71    = note: an implementation of `std::ops::Shr` might be missing for `A`
72
73 error[E0369]: binary operation `==` cannot be applied to type `A`
74   --> $DIR/issue-28837.rs:34:5
75    |
76 LL |     a == a; //~ ERROR binary operation `==` cannot be applied to type `A`
77    |     ^^^^^^
78    |
79    = note: an implementation of `std::cmp::PartialEq` might be missing for `A`
80
81 error[E0369]: binary operation `!=` cannot be applied to type `A`
82   --> $DIR/issue-28837.rs:36:5
83    |
84 LL |     a != a; //~ ERROR binary operation `!=` cannot be applied to type `A`
85    |     ^^^^^^
86    |
87    = note: an implementation of `std::cmp::PartialEq` might be missing for `A`
88
89 error[E0369]: binary operation `<` cannot be applied to type `A`
90   --> $DIR/issue-28837.rs:38:5
91    |
92 LL |     a < a; //~ ERROR binary operation `<` cannot be applied to type `A`
93    |     ^^^^^
94    |
95    = note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
96
97 error[E0369]: binary operation `<=` cannot be applied to type `A`
98   --> $DIR/issue-28837.rs:40:5
99    |
100 LL |     a <= a; //~ ERROR binary operation `<=` cannot be applied to type `A`
101    |     ^^^^^^
102    |
103    = note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
104
105 error[E0369]: binary operation `>` cannot be applied to type `A`
106   --> $DIR/issue-28837.rs:42:5
107    |
108 LL |     a > a; //~ ERROR binary operation `>` cannot be applied to type `A`
109    |     ^^^^^
110    |
111    = note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
112
113 error[E0369]: binary operation `>=` cannot be applied to type `A`
114   --> $DIR/issue-28837.rs:44:5
115    |
116 LL |     a >= a; //~ ERROR binary operation `>=` cannot be applied to type `A`
117    |     ^^^^^^
118    |
119    = note: an implementation of `std::cmp::PartialOrd` might be missing for `A`
120
121 error: aborting due to 15 previous errors
122
123 For more information about this error, try `rustc --explain E0369`.