1 error: `~` cannot be used as a unary operator
2 --> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:4:14
5 | ^ help: use `!` to perform bitwise not
7 error: unexpected `1` after identifier
8 --> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:5:18
13 | help: use `!` to perform bitwise not
15 error: unexpected keyword `false` after identifier
16 --> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:6:18
18 LL | let _z = not false;
21 | help: use `!` to perform logical negation
23 error: unexpected keyword `true` after identifier
24 --> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:7:18
26 LL | let _a = not true;
29 | help: use `!` to perform logical negation
31 error: unexpected `v` after identifier
32 --> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:9:18
37 | help: use `!` to perform logical negation or bitwise not
39 error: aborting due to 5 previous errors