fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1warning: unused comparison that must be used 2 --> $DIR/must-use-ops.rs:12:5 3 | 4LL | val == 1; 5 | ^^^^^^^^ 6 | 7note: lint level defined here 8 --> $DIR/must-use-ops.rs:5:9 9 | 10LL | #![warn(unused_must_use)] 11 | ^^^^^^^^^^^^^^^ 12 13warning: unused comparison that must be used 14 --> $DIR/must-use-ops.rs:13:5 15 | 16LL | val < 1; 17 | ^^^^^^^ 18 19warning: unused comparison that must be used 20 --> $DIR/must-use-ops.rs:14:5 21 | 22LL | val <= 1; 23 | ^^^^^^^^ 24 25warning: unused comparison that must be used 26 --> $DIR/must-use-ops.rs:15:5 27 | 28LL | val != 1; 29 | ^^^^^^^^ 30 31warning: unused comparison that must be used 32 --> $DIR/must-use-ops.rs:16:5 33 | 34LL | val >= 1; 35 | ^^^^^^^^ 36 37warning: unused comparison that must be used 38 --> $DIR/must-use-ops.rs:17:5 39 | 40LL | val > 1; 41 | ^^^^^^^ 42 43warning: unused arithmetic operation that must be used 44 --> $DIR/must-use-ops.rs:20:5 45 | 46LL | val + 2; 47 | ^^^^^^^ 48 49warning: unused arithmetic operation that must be used 50 --> $DIR/must-use-ops.rs:21:5 51 | 52LL | val - 2; 53 | ^^^^^^^ 54 55warning: unused arithmetic operation that must be used 56 --> $DIR/must-use-ops.rs:22:5 57 | 58LL | val / 2; 59 | ^^^^^^^ 60 61warning: unused arithmetic operation that must be used 62 --> $DIR/must-use-ops.rs:23:5 63 | 64LL | val * 2; 65 | ^^^^^^^ 66 67warning: unused arithmetic operation that must be used 68 --> $DIR/must-use-ops.rs:24:5 69 | 70LL | val % 2; 71 | ^^^^^^^ 72 73warning: unused logical operation that must be used 74 --> $DIR/must-use-ops.rs:27:5 75 | 76LL | true && true; 77 | ^^^^^^^^^^^^ 78 79warning: unused logical operation that must be used 80 --> $DIR/must-use-ops.rs:28:5 81 | 82LL | false || true; 83 | ^^^^^^^^^^^^^ 84 85warning: unused bitwise operation that must be used 86 --> $DIR/must-use-ops.rs:31:5 87 | 88LL | 5 ^ val; 89 | ^^^^^^^ 90 91warning: unused bitwise operation that must be used 92 --> $DIR/must-use-ops.rs:32:5 93 | 94LL | 5 & val; 95 | ^^^^^^^ 96 97warning: unused bitwise operation that must be used 98 --> $DIR/must-use-ops.rs:33:5 99 | 100LL | 5 | val; 101 | ^^^^^^^ 102 103warning: unused bitwise operation that must be used 104 --> $DIR/must-use-ops.rs:34:5 105 | 106LL | 5 << val; 107 | ^^^^^^^^ 108 109warning: unused bitwise operation that must be used 110 --> $DIR/must-use-ops.rs:35:5 111 | 112LL | 5 >> val; 113 | ^^^^^^^^ 114 115warning: unused unary operation that must be used 116 --> $DIR/must-use-ops.rs:38:5 117 | 118LL | !val; 119 | ^^^^ 120 121warning: unused unary operation that must be used 122 --> $DIR/must-use-ops.rs:39:5 123 | 124LL | -val; 125 | ^^^^ 126 127warning: unused unary operation that must be used 128 --> $DIR/must-use-ops.rs:40:5 129 | 130LL | *val_pointer; 131 | ^^^^^^^^^^^^ 132