1 error: `~` cannot be used as a unary operator
2 --> $DIR/issue-41679-tilde-bitwise-negation-attempt.rs:12:13
4 LL | let x = ~1; //~ ERROR cannot be used as a unary operator
5 | ^ help: use `!` to perform bitwise negation
7 error: aborting due to previous error