1- warning: unused comparison which must be used
1+ warning: unused comparison that must be used
22 --> $DIR/must-use-ops.rs:22:5
33 |
44LL | val == 1;
@@ -10,121 +10,121 @@ note: lint level defined here
1010LL | #![warn(unused_must_use)]
1111 | ^^^^^^^^^^^^^^^
1212
13- warning: unused comparison which must be used
13+ warning: unused comparison that must be used
1414 --> $DIR/must-use-ops.rs:23:5
1515 |
1616LL | val < 1;
1717 | ^^^^^^^
1818
19- warning: unused comparison which must be used
19+ warning: unused comparison that must be used
2020 --> $DIR/must-use-ops.rs:24:5
2121 |
2222LL | val <= 1;
2323 | ^^^^^^^^
2424
25- warning: unused comparison which must be used
25+ warning: unused comparison that must be used
2626 --> $DIR/must-use-ops.rs:25:5
2727 |
2828LL | val != 1;
2929 | ^^^^^^^^
3030
31- warning: unused comparison which must be used
31+ warning: unused comparison that must be used
3232 --> $DIR/must-use-ops.rs:26:5
3333 |
3434LL | val >= 1;
3535 | ^^^^^^^^
3636
37- warning: unused comparison which must be used
37+ warning: unused comparison that must be used
3838 --> $DIR/must-use-ops.rs:27:5
3939 |
4040LL | val > 1;
4141 | ^^^^^^^
4242
43- warning: unused arithmetic operation which must be used
43+ warning: unused arithmetic operation that must be used
4444 --> $DIR/must-use-ops.rs:30:5
4545 |
4646LL | val + 2;
4747 | ^^^^^^^
4848
49- warning: unused arithmetic operation which must be used
49+ warning: unused arithmetic operation that must be used
5050 --> $DIR/must-use-ops.rs:31:5
5151 |
5252LL | val - 2;
5353 | ^^^^^^^
5454
55- warning: unused arithmetic operation which must be used
55+ warning: unused arithmetic operation that must be used
5656 --> $DIR/must-use-ops.rs:32:5
5757 |
5858LL | val / 2;
5959 | ^^^^^^^
6060
61- warning: unused arithmetic operation which must be used
61+ warning: unused arithmetic operation that must be used
6262 --> $DIR/must-use-ops.rs:33:5
6363 |
6464LL | val * 2;
6565 | ^^^^^^^
6666
67- warning: unused arithmetic operation which must be used
67+ warning: unused arithmetic operation that must be used
6868 --> $DIR/must-use-ops.rs:34:5
6969 |
7070LL | val % 2;
7171 | ^^^^^^^
7272
73- warning: unused logical operation which must be used
73+ warning: unused logical operation that must be used
7474 --> $DIR/must-use-ops.rs:37:5
7575 |
7676LL | true && true;
7777 | ^^^^^^^^^^^^
7878
79- warning: unused logical operation which must be used
79+ warning: unused logical operation that must be used
8080 --> $DIR/must-use-ops.rs:38:5
8181 |
8282LL | false || true;
8383 | ^^^^^^^^^^^^^
8484
85- warning: unused bitwise operation which must be used
85+ warning: unused bitwise operation that must be used
8686 --> $DIR/must-use-ops.rs:41:5
8787 |
8888LL | 5 ^ val;
8989 | ^^^^^^^
9090
91- warning: unused bitwise operation which must be used
91+ warning: unused bitwise operation that must be used
9292 --> $DIR/must-use-ops.rs:42:5
9393 |
9494LL | 5 & val;
9595 | ^^^^^^^
9696
97- warning: unused bitwise operation which must be used
97+ warning: unused bitwise operation that must be used
9898 --> $DIR/must-use-ops.rs:43:5
9999 |
100100LL | 5 | val;
101101 | ^^^^^^^
102102
103- warning: unused bitwise operation which must be used
103+ warning: unused bitwise operation that must be used
104104 --> $DIR/must-use-ops.rs:44:5
105105 |
106106LL | 5 << val;
107107 | ^^^^^^^^
108108
109- warning: unused bitwise operation which must be used
109+ warning: unused bitwise operation that must be used
110110 --> $DIR/must-use-ops.rs:45:5
111111 |
112112LL | 5 >> val;
113113 | ^^^^^^^^
114114
115- warning: unused unary operation which must be used
115+ warning: unused unary operation that must be used
116116 --> $DIR/must-use-ops.rs:48:5
117117 |
118118LL | !val;
119119 | ^^^^
120120
121- warning: unused unary operation which must be used
121+ warning: unused unary operation that must be used
122122 --> $DIR/must-use-ops.rs:49:5
123123 |
124124LL | -val;
125125 | ^^^^
126126
127- warning: unused unary operation which must be used
127+ warning: unused unary operation that must be used
128128 --> $DIR/must-use-ops.rs:50:5
129129 |
130130LL | *val_pointer;
0 commit comments