@@ -13,48 +13,48 @@ struct A;
13
13
fn main ( ) {
14
14
let a = A ;
15
15
16
- a + a; //~ ERROR binary operation `+` cannot be applied to type `A`
17
- //~^ NOTE an implementation of `std::ops::Add` might be missing for `A` or
16
+ a + a; //~ ERROR binary operation `+` cannot be applied to type `A`
17
+ //~^ NOTE an implementation of `std::ops::Add` might be missing for `A`
18
18
19
19
a - a; //~ ERROR binary operation `-` cannot be applied to type `A`
20
- //~^ NOTE an implementation of `std::ops::Sub` might be missing for `A` or one of
20
+ //~^ NOTE an implementation of `std::ops::Sub` might be missing for `A`
21
21
22
22
a * a; //~ ERROR binary operation `*` cannot be applied to type `A`
23
- //~^ NOTE an implementation of `std::ops::Mul` might be missing for `A` or one of
23
+ //~^ NOTE an implementation of `std::ops::Mul` might be missing for `A`
24
24
25
25
a / a; //~ ERROR binary operation `/` cannot be applied to type `A`
26
- //~^ NOTE an implementation of `std::ops::Div` might be missing for `A` or one of
26
+ //~^ NOTE an implementation of `std::ops::Div` might be missing for `A`
27
27
28
28
a % a; //~ ERROR binary operation `%` cannot be applied to type `A`
29
- //~^ NOTE an implementation of `std::ops::Rem` might be missing for `A` or one of
29
+ //~^ NOTE an implementation of `std::ops::Rem` might be missing for `A`
30
30
31
31
a & a; //~ ERROR binary operation `&` cannot be applied to type `A`
32
- //~^ NOTE an implementation of `std::ops::BitAnd` might be missing for `A` or one of
32
+ //~^ NOTE an implementation of `std::ops::BitAnd` might be missing for `A`
33
33
34
34
a | a; //~ ERROR binary operation `|` cannot be applied to type `A`
35
- //~^ NOTE an implementation of `std::ops::BitOr` might be missing for `A` or one of
35
+ //~^ NOTE an implementation of `std::ops::BitOr` might be missing for `A`
36
36
37
37
a << a; //~ ERROR binary operation `<<` cannot be applied to type `A`
38
- //~^ NOTE an implementation of `std::ops::Shl` might be missing for `A` or one of
38
+ //~^ NOTE an implementation of `std::ops::Shl` might be missing for `A`
39
39
40
40
a >> a; //~ ERROR binary operation `>>` cannot be applied to type `A`
41
- //~^ NOTE an implementation of `std::ops::Shr` might be missing for `A` or one of
41
+ //~^ NOTE an implementation of `std::ops::Shr` might be missing for `A`
42
42
43
43
a == a; //~ ERROR binary operation `==` cannot be applied to type `A`
44
- //~^ NOTE an implementation of `std::cmp::PartialEq` might be missing for `A` or one of
44
+ //~^ NOTE an implementation of `std::cmp::PartialEq` might be missing for `A`
45
45
46
46
a != a; //~ ERROR binary operation `!=` cannot be applied to type `A`
47
- //~^ NOTE an implementation of `std::cmp::PartialEq` might be missing for `A` or one of
47
+ //~^ NOTE an implementation of `std::cmp::PartialEq` might be missing for `A`
48
48
49
49
a < a; //~ ERROR binary operation `<` cannot be applied to type `A`
50
- //~^ NOTE an implementation of `std::cmp::PartialOrd` might be missing for `A` or one of
50
+ //~^ NOTE an implementation of `std::cmp::PartialOrd` might be missing for `A`
51
51
52
52
a <= a; //~ ERROR binary operation `<=` cannot be applied to type `A`
53
- //~^ NOTE an implementation of `std::cmp::PartialOrd` might be missing for `A` or one of
53
+ //~^ NOTE an implementation of `std::cmp::PartialOrd` might be missing for `A`
54
54
55
55
a > a; //~ ERROR binary operation `>` cannot be applied to type `A`
56
- //~^ NOTE an implementation of `std::cmp::PartialOrd` might be missing for `A` or one of
56
+ //~^ NOTE an implementation of `std::cmp::PartialOrd` might be missing for `A`
57
57
58
58
a >= a; //~ ERROR binary operation `>=` cannot be applied to type `A`
59
- //~^ NOTE an implementation of `std::cmp::PartialOrd` might be missing for `A` or one of
59
+ //~^ NOTE an implementation of `std::cmp::PartialOrd` might be missing for `A`
60
60
}
0 commit comments