fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: `~` cannot be used as a unary operator 2 --> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:4:14 3 | 4LL | let _x = ~1; 5 | ^ help: use `!` to perform bitwise not 6 7error: unexpected `1` after identifier 8 --> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:5:18 9 | 10LL | let _y = not 1; 11 | ----^ 12 | | 13 | help: use `!` to perform bitwise not 14 15error: unexpected keyword `false` after identifier 16 --> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:6:18 17 | 18LL | let _z = not false; 19 | ----^^^^^ 20 | | 21 | help: use `!` to perform logical negation 22 23error: unexpected keyword `true` after identifier 24 --> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:7:18 25 | 26LL | let _a = not true; 27 | ----^^^^ 28 | | 29 | help: use `!` to perform logical negation 30 31error: unexpected `v` after identifier 32 --> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:9:18 33 | 34LL | let _v = not v; 35 | ----^ 36 | | 37 | help: use `!` to perform logical negation or bitwise not 38 39error: aborting due to 5 previous errors 40